How to get ‘token’ for API ?

You can get token for API from two ways:

  1. First is when you will sigh up in to a website the  website will provide the ‘token’ via email or on same website in any section.
  2. API owner will proved you a some keys and their values that you have to fill in for x-www-form-urlencoded as followstoken

After that you have to go to 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.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s