Skip to Content
Author's profile photo Santosh G.

POSTMAN – An Introduction to Test APIs on the go!!!

This is one of the best the best apps to test the APIs, so thought of sharing about it.

To work with it, simply add this extension to your chrome browser. Visit – to add the extension.

This document discusses a sample scenario to test the Twitter Search API.


1. Create a new Test and select the Authorization tab. For Twitter we are using OAuth 1.0. So select the appropriate Authorization as per your need. Refer below –


2. Create an application on Refer this link for more details.  We’ll require below details to populate them during authorization (the associated link mentioned above explains how to get it).

  • Consumer Key
  • Consumer Secret
  • Token
  • Token Secret



3. Testing API –

It’s up to you which functionality of Twitter you want to test. In my case I have tested the GET search/tweets functionality of the API. We’ll need the subsequent Resource URL and the parameters related to that API.

Twitter API –

Refer below screenshot:


Here you’ll get the necessary Resource URL which you need to pass in the URL section of the POSTMAN test case created by you.

Besides in the Parameter section pass the parameters for the API. In our case it is:

key = q and Value = BankofBaroda109 where q stands for query.

Refer below screen.


Once done. Click on Send to get the data from API. There you go.


There is also alternative way to test Twitter API –


This is a very basic test. But, you can explore more from your end to get the most of it.


Hope this document helps at the introductory level.

Regards – Santosh G.

Assigned Tags

      1 Comment
      You must be Logged on to comment or reply to a post.
      Author's profile photo Supriya Sahu
      Supriya Sahu

      Hi Santosh,

      First all, Thanks a lot for such a wonderful explanation.

      I am stuck in a "post" cal for .xsodata service (to create a record).

      First I made a get call to xsodata to fetch x-csrr-token.(PFB image)

      To create a record I make a "POST" request, with the environment variable i.e fetched token enabled (in header section) . Body Containing data to be created. PFB screenshot

      But, when I send the request , I get an error - 405 Method not allowed.(PFB image)


      Please help me understand how to pass the fetched token to a "POST" request.

      Do i need to make any changes in the URL or add params? I have tried all my ways but still no luck.

      I have also attached my .xsaccess and .xsodata file below.


      Thanks in advance for the help.


      Supriya Sahu