Make Selenium Easy

Postman Tutorial Part 4 – Sending GET Request With Params in Postman

Last updated on July 8th, 2019 at 10:57 pm

Hello Folks,

As part of our API Testing series, we will see “Sending GET request with params in Postman”.

In last post, we saw how can we send a GET request to list all users. It simply list all users. What if we want to list users based on some conditions? For E.g. List all users whose name is “John”. I am trying to put a filter on result. You can relate this with “WHERE” conditions in SQL.

How to create an URI with params or parameters?

Syntax is as below:

BaseURL + ResourceName + “?” + key1 = value1 + “&” + key 2 = value 2 ……


Key will be params name and value will be param value. Eg. Name is a key and “John” is its value. If we hit the above request in Postman directly we will get users with name as John and gender is female.

How to add params in Postman?

It will be difficult to add params in URI if it is more in number and chances of making mistake is higher. So Postman provides you an easy option to add parameters as key-value pair. Postman will generate required URL with provided params automatically.

Steps to add Params in a request:

  1. You will see a tab named “Params”. Click on that.
  2. You will see a table with three columns. Key, Value and Description.
  3. You need to add params name and its value. E.g. Name and Gender and its values John and Female respectively.
  4. Description field is optional and it does not play any role in generating URL with Params.
  5. You can notice as soon as you start adding params, URI in Postman address bar is updating as above.
  6. You can see check mark prefix to params row. It means you have provided confirmation of use params in GET request. You just click on it. It will be unchecked and you can notice that params is removed from URI.
  7. Hit the Send button.
  8. You will see similar result as we did manually above.

Now you can play with Params in Postman. We will see more about it in next post.

More about API Testing in upcoming posts. Stay tuned.

If you have any doubt, feel free to comment below.
If you like my posts, please like, comment, share and subscribe.


Author: Amod Mahajan

My name is Amod Mahajan and I am an IT employee with 6+ years of experience in Software testing and staying in Bengaluru. My area of interest is Automation testing. I started from basics and went through so many selenium tutorials. Thanks to Mukesh Otwani as his tutorials are easy and cover basics to advance. I have habit of exploring concepts by deep diving. I used to make notes. I thought of sharing my knowledge through posts and now I am here. #KeepLearning #ShareLearning

6 thoughts on “Postman Tutorial Part 4 – Sending GET Request With Params in Postman

  1. getting below error :
    “_meta”: {
    “success”: false,
    “code”: 401,
    “message”: “Authentication failed.”
    “result”: {
    “name”: “Unauthorized”,
    “message”: “Your request was made with invalid credentials.”,
    “code”: 0,
    “status”: 401

    1. In fact API should be designed to do so. “%20” is encoded as whitespace. When we send a parms, API needs to handle that how they use that. In real time, search APIs will handle those scenarios.

Leave a Reply

Please wait...

Subscribe to new posts to become automation expert

Want to be notified when my new post is published? Get my posts in your inbox.

Postman Tutorial Part 4 – Sending GET Request With Params in Postman

by Amod Mahajan time to read: 2 min
%d bloggers like this: