Skip to content

Instantly share code, notes, and snippets.

@PratibhaChintakunta
Last active June 29, 2016 08:26
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/dbae02ed0ccea2072dad7899ad4cfc04 to your computer and use it in GitHub Desktop.
Save PratibhaChintakunta/dbae02ed0ccea2072dad7899ad4cfc04 to your computer and use it in GitHub Desktop.
# Obtain these keys from the Telstra Developer Portal
CONSUMER_KEY="your consumer key"
CONSUMER_SECRET="your consumer secret"
curl -X POST \
-H "Accept: application/json" \
-d "client_id=$CONSUMER_KEY&client_secret=$CONSUMER_SECRET&grant_type=client_credentials&scope=SUBSCRIBERPROFILE" \
"https://api.telstra.com/v1/oauth/token"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment