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/d2d334022a310857f54b076be82f38b3 to your computer and use it in GitHub Desktop.
Save PratibhaChintakunta/d2d334022a310857f54b076be82f38b3 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.
UID="9999999999"
TOKEN="<access_token>"
curl -H "Authorization: Bearer $TOKEN" \
"https://api.telstra.com/v1/subscriber-profile/uids/$UID"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment