Skip to content

Instantly share code, notes, and snippets.

@dbrent-amazon
Created August 15, 2018 18:10
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dbrent-amazon/9a7572a34852f6a6632478abdde4d2d5 to your computer and use it in GitHub Desktop.
Save dbrent-amazon/9a7572a34852f6a6632478abdde4d2d5 to your computer and use it in GitHub Desktop.
generate-access-token
curl \
-H "Content-Type:application/x-www-form-urlencoded;charset=UTF-8" \
-d "grant_type=refresh_token&client_id=YOUR_CLIENT_ID&refresh_token=YOUR_REFRESH_TOKEN&client_secret=YOUR_CLIENT_SECRET" \
https://api.amazon.com/auth/o2/token
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment