Snippets
Just add debugmenow
param in the url in order to see curl
command to subscribe
api, like in the example below:
curl --header "Authorization: Basic MjEzMDcwNjQzMyQ2NDRiMTczMzVjMjIxZmI3YTlhOTk4MjRlZDczMzNhMg==" http://watch.test.polishtvcompany.com/app-gw/checking_accounts\?debugmenow
Example resopne will be:
curl -g -X GET 'https://test.subscribeasy.com/api/checking_accounts?debugmenow&email=slime%40a.com&password_hash=906fca73bf15b77f546171b04a33c9c4%3A15ca98dfa9c994c905e637808aa8ebaa' -H 'store-url: http://polishtvcompany.com/testapp' -H 'key: AF8b9rfE0kWXsZCj'
You can also chain request by using pipe operator:
curl --header "Authorization: Basic MjEzMDcwNjQzMyQ2NDRiMTczMzVjMjIxZmI3YTlhOTk4MjRlZDczMzNhMg==" http://watch.test.polishtvcompany.com/app-gw/checking_accounts\?debugmenow |sh
Requests without this param will execute as in the past.
curl --header "Authorization: Basic MjEzMDcwNjQzMyQ2NDRiMTczMzVjMjIxZmI3YTlhOTk4MjRlZDczMzNhMg==" http://watch.test.polishtvcompany.com/app-gw/checking_accounts
Comments (0)
You can clone a snippet to your computer for local editing. Learn more.