Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save dmolsen/5320637 to your computer and use it in GitHub Desktop.
Save dmolsen/5320637 to your computer and use it in GitHub Desktop.
curl -F 'client_id=[clientID]' -F 'client_secret=[clientSecret]' -F 'grant_type=authorization_code' -F 'redirect_uri=[redirectURI]' -F 'code=[code]' https://api.instagram.com/oauth/access_token
@tamasa3
Copy link

tamasa3 commented Apr 17, 2018

curl -v https://login.salesforce.com/services/oauth2/token -d "grant_type=password" -d "client_id=<3MVG9d8..z.hDcPI3b_KtZNEt9VF70zeLVRjpnfOSEEse8Iq5tF9ktcqaPVLE.BjVbZG5nAwHRcGYD91dzV6E>"
-d "client_secret=<4272898773012866539>" -d "username=<>" -d "password=<>" -H 'X-PrettyPrint:1'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment