Skip to content

Instantly share code, notes, and snippets.

@PratibhaChintakunta
Last active June 29, 2016 08:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PratibhaChintakunta/ca0f5b4e6affe68fb27594d337dbd775 to your computer and use it in GitHub Desktop.
Save PratibhaChintakunta/ca0f5b4e6affe68fb27594d337dbd775 to your computer and use it in GitHub Desktop.
# * Authorization header value should be in the format of "Bearer xxx" where xxx is access token returned
# from a previous GET https://api.telstra.com/v1/oauth/token request.
MSISDN="61400000000"
TOKEN="<access_token>"
curl -H "Authorization: Bearer $TOKEN" \
"https://api.telstra.com/v1/subscriber-profile/msisdns/$MSISDN"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment