Snippets

ESTI design App-gw requests sequance

Created by Robert Poz last modified

For given customer: maison1982@aol.com / qwert54321

Following steps from previous snippet: https://bitbucket.org/snippets/ESTIdesign/7edodx/auth-requests-app-gw

Login

curl 'http://watch.test.polishtvcompany.com/app-gw/sandbox/login' --data 'login=maison1982@aol.com&password=qwert54321'

{"auth_token":"d0a89dabd1348d99cb51db588505a179"}

Base64(token) = ZDBhODlkYWJkMTM0OGQ5OWNiNTFkYjU4ODUwNWExNzk=

Subscriptions

curl --header "Authorization: Basic ZDBhODlkYWJkMTM0OGQ5OWNiNTFkYjU4ODUwNWExNzk=" -X POST http://watch.test.polishtvcompany.com/app-gw/customer/subscriptions

Session

curl 'http://watch.test.polishtvcompany.com/app-gw/sessions' -H "Authorization: Basic ZDBhODlkYWJkMTM0OGQ5OWNiNTFkYjU4ODUwNWExNzk=" --Data 'service_id=14'

(...)

The rest is the the same as in previous snippets.

Comments (0)

HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.