Skip to content
This repository has been archived by the owner on Sep 14, 2024. It is now read-only.

Where to run the authorization URL to request authorization and refresh tokens #22

Open
sammillendo opened this issue Jun 7, 2021 · 0 comments

Comments

@sammillendo
Copy link

I'm trying to get a authorization and refresh tokens. According to the Amazon Ads API doc, I need the to substitute my values in the request:

curl \ -X POST \ -H "Content-Type:application/x-www-form-urlencoded;charset=UTF-8" \ --data "grant_type=authorization_code&code=AUTH_CODE&redirect_uri=YOUR_RETURN_URL&client_id=YOUR_CLIENT_ID&client_secret=YOUR_SECRET_KEY" \ https://api.amazon.com/auth/o2/token

I've replaced the parameter with my values, I want to know where to run the code, do I run it in the terminal or in the browser? Which part of the parameter should I run first, or do I copy and paste the whole parameter and run it at once?

Thanks for the help

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant