Advertisement
AlexanderNorup

Subscription Team virker i PROD!!!

Dec 17th, 2021
1,200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.45 KB | None | 0 0
  1. alexa@ALEXANDER-FLOW-X13 MSYS ~/Documents/subscription (dev)
  2. $ curl -H "x-user-id: dbb2c974-66e2-4aca-8472-b81af79b044e" -H "x-test-db: 1" -v -X POST http://stream.stud-srv.sdu.dk/service04/subscription/sub
  3. _1K7JWHEuxKCgxj5tNeJjmVYe/continue
  4. *   Trying 10.123.252.229...
  5. * TCP_NODELAY set
  6. * Connected to stream.stud-srv.sdu.dk (10.123.252.229) port 80 (#0)
  7. > POST /service04/subscription/sub_1K7JWHEuxKCgxj5tNeJjmVYe/continue HTTP/1.1
  8. > Host: stream.stud-srv.sdu.dk
  9. > User-Agent: curl/7.55.1
  10. > Accept: */*
  11. > x-user-id: dbb2c974-66e2-4aca-8472-b81af79b044e
  12. > x-test-db: 1
  13. >
  14. < HTTP/1.1 200 OK
  15. < date: Fri, 17 Dec 2021 07:57:04 GMT
  16. < content-type: application/json
  17. < transfer-encoding: chunked
  18. <
  19. {"success":true,"message":"Subscription Family will no longer be cancelled.","renewsAt":1642337833}* Connection #0 to host stream.stud-srv.sdu.dk left intact
  20.  
  21. alexa@ALEXANDER-FLOW-X13 MSYS ~/Documents/subscription (dev)
  22. $ curl -H "x-user-id: dbb2c974-66e2-4aca-8472-b81af79b044e" -H "x-test-db: 1" -v -X DELETE http://stream.stud-srv.sdu.dk/service04/subscription/s
  23. ub_1K7JWHEuxKCgxj5tNeJjmVYe
  24. *   Trying 10.123.252.229...
  25. * TCP_NODELAY set
  26. * Connected to stream.stud-srv.sdu.dk (10.123.252.229) port 80 (#0)
  27. > DELETE /service04/subscription/sub_1K7JWHEuxKCgxj5tNeJjmVYe HTTP/1.1
  28. > Host: stream.stud-srv.sdu.dk
  29. > User-Agent: curl/7.55.1
  30. > Accept: */*
  31. > x-user-id: dbb2c974-66e2-4aca-8472-b81af79b044e
  32. > x-test-db: 1
  33. >
  34. < HTTP/1.1 200 OK
  35. < date: Fri, 17 Dec 2021 07:57:35 GMT
  36. < content-type: application/json
  37. < transfer-encoding: chunked
  38. <
  39. {"cancelsAt":1642337833,"success":true,"message":"Subscription Family will be canceled on the 2022-01-16T12:57:13Z"}* Connection #0 to host stream.stud-srv.sdu.dk left intact
  40.  
  41. alexa@ALEXANDER-FLOW-X13 MSYS ~/Documents/subscription (dev)
  42. $ curl -H "x-user-id: c9db0772-557d-42a2-a401-03930140bfde" -H "x-test-db: 0" -v http://stream.stud-srv.sdu.dk/service04/subscription/user
  43. *   Trying 10.123.252.229...
  44. * TCP_NODELAY set
  45. * Connected to stream.stud-srv.sdu.dk (10.123.252.229) port 80 (#0)
  46. > GET /service04/subscription/user HTTP/1.1
  47. > Host: stream.stud-srv.sdu.dk
  48. > User-Agent: curl/7.55.1
  49. > Accept: */*
  50. > x-user-id: c9db0772-557d-42a2-a401-03930140bfde
  51. > x-test-db: 0
  52. >
  53. < HTTP/1.1 200 OK
  54. < date: Fri, 17 Dec 2021 07:59:12 GMT
  55. < content-type: application/json
  56. < transfer-encoding: chunked
  57. <
  58. {"subscriptions":[],"effectiveTier":"FAMILY","premiumFromFamily":true}* Connection #0 to host stream.stud-srv.sdu.dk left intact
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement