Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alexa@ALEXANDER-FLOW-X13 MSYS ~/Documents/subscription (dev)
- $ 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
- _1K7JWHEuxKCgxj5tNeJjmVYe/continue
- * Trying 10.123.252.229...
- * TCP_NODELAY set
- * Connected to stream.stud-srv.sdu.dk (10.123.252.229) port 80 (#0)
- > POST /service04/subscription/sub_1K7JWHEuxKCgxj5tNeJjmVYe/continue HTTP/1.1
- > Host: stream.stud-srv.sdu.dk
- > User-Agent: curl/7.55.1
- > Accept: */*
- > x-user-id: dbb2c974-66e2-4aca-8472-b81af79b044e
- > x-test-db: 1
- >
- < HTTP/1.1 200 OK
- < date: Fri, 17 Dec 2021 07:57:04 GMT
- < content-type: application/json
- < transfer-encoding: chunked
- <
- {"success":true,"message":"Subscription Family will no longer be cancelled.","renewsAt":1642337833}* Connection #0 to host stream.stud-srv.sdu.dk left intact
- alexa@ALEXANDER-FLOW-X13 MSYS ~/Documents/subscription (dev)
- $ 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
- ub_1K7JWHEuxKCgxj5tNeJjmVYe
- * Trying 10.123.252.229...
- * TCP_NODELAY set
- * Connected to stream.stud-srv.sdu.dk (10.123.252.229) port 80 (#0)
- > DELETE /service04/subscription/sub_1K7JWHEuxKCgxj5tNeJjmVYe HTTP/1.1
- > Host: stream.stud-srv.sdu.dk
- > User-Agent: curl/7.55.1
- > Accept: */*
- > x-user-id: dbb2c974-66e2-4aca-8472-b81af79b044e
- > x-test-db: 1
- >
- < HTTP/1.1 200 OK
- < date: Fri, 17 Dec 2021 07:57:35 GMT
- < content-type: application/json
- < transfer-encoding: chunked
- <
- {"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
- alexa@ALEXANDER-FLOW-X13 MSYS ~/Documents/subscription (dev)
- $ 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
- * Trying 10.123.252.229...
- * TCP_NODELAY set
- * Connected to stream.stud-srv.sdu.dk (10.123.252.229) port 80 (#0)
- > GET /service04/subscription/user HTTP/1.1
- > Host: stream.stud-srv.sdu.dk
- > User-Agent: curl/7.55.1
- > Accept: */*
- > x-user-id: c9db0772-557d-42a2-a401-03930140bfde
- > x-test-db: 0
- >
- < HTTP/1.1 200 OK
- < date: Fri, 17 Dec 2021 07:59:12 GMT
- < content-type: application/json
- < transfer-encoding: chunked
- <
- {"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