You can get token for API from two ways:
- First is when you will sign up into a website the website will provide the ‘token’ via email or on the same website in any section.
- API owner will prove you some keys and their values that you have to fill in for “x-www-form-urlencoded” as follows
After that, you have to go to the Headers TAB and need to set headers as follows
This request will be POST request and you will get a JSON response that will look like.
Now you can fetch acces_token from JSON response and use it for further endpoints.