Last active
June 29, 2016 08:26
-
-
Save PratibhaChintakunta/dbae02ed0ccea2072dad7899ad4cfc04 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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