Questions tagged [postman]

Postman is a client for sending and emulating requests over HTTP. It is most commonly used with API requests. Use for questions about the tool itself. Use with any relevant API tags if you are having issues with a specific use.

Started out as a simple testing tool, Postman is now an elegant, flexible tool used to build connected software via APIs - quickly, easily, and accurately. It is used by nearly five million developers and more than 100,000 companies worldwide.

Postman enables you to:

  • Create Collections of requests
  • Organize your work within different Workspaces
  • Split-stack development with Mock Servers
  • Use Tests & Scripts to add dynamic parameters
  • Automate tests with Collection Runner
  • Test performance & behavior with Monitors
  • Document & Publish Collections for collaboration
12313 questions
37
votes
4 answers

Trying to use 'Postman' and having trouble setting Basic access authentication Headers

I have an API endpoint that I am trying to test with the google app: 'Postman'. I need to set the headers which use 'Basic authentication'. I am not sure what should go in 'Header: Value' This is how the admin said the headers should be…
fresh5447
  • 1,242
  • 3
  • 14
  • 27
36
votes
4 answers

How to disable cookies in Postman Application

I'm using Postman application to test APIs in Ubuntu 16.04. I don't need Postman to store cookies after API request. I only find options to delete cookies manually for each request. Does anyone know how to completely disable it?
Vinoth Kumar
  • 603
  • 1
  • 10
  • 22
36
votes
9 answers

Send array as part of x-www-form-urlencoded

I want to send array using postman. the request looks like this: Im using postman to execute requests. I found on the internet to send array via form-data or raw. But I need them to be send as x-www-form-urlencoded. I tried it this way: But its…
Haniku
  • 671
  • 1
  • 7
  • 16
36
votes
5 answers

How to persist an OAuth2 token (or use a refresh token) in Postman collections?

The goal Be able to run a collection without going through the authorization process of every call individually prior to running the collection. What I've attempted/noticed When using the OAuth2 authorization helper in Postman, I haven't discovered…
Nate Ritter
  • 2,386
  • 3
  • 20
  • 28
35
votes
8 answers

Postman Error: tunneling socket could not be established, statusCode=407

I am using the desktop version of Postman at a client site to test an API. However, I am unable to access any SSL sites in Postman, such as the Git Hib API: https://api.github.com/users/karlgjertsen However, I can make the same API call through…
Karl Gjertsen
  • 4,690
  • 8
  • 41
  • 64
34
votes
3 answers

Is it possible to call a SignalR Hub from Postman

I have an ASP .Net Core 2.2 Web API with a SignalR hub. Is it possible to call one of its methods (for example, SendMessageToAll) using Postman? The problem is that I only have the API - no frontend - and I need to test. I tried putting the URl to…
34
votes
1 answer

Postman - Option to view compressed response size..?

While testing Spring GZIP compression on REST endpoint observed, with or without compression enabled postman response size showed original response size. Content-encoding still showed as gzip, but the response size in postman is always…
PraveenKumar
  • 478
  • 1
  • 5
  • 10
34
votes
14 answers

"Content type 'application/json;charset=UTF-8' not supported" in Spring Rest application

When I do a POST request on localhost:8080/api/users to create a new user I get the following error : { "timestamp": "2018-05-28T09:44:55.704+0000", "status": 415, "error": "Unsupported Media Type", "message": "Content type…
Ouissal
  • 1,519
  • 2
  • 18
  • 36
34
votes
5 answers

How to check if an object exist in POSTMAN?

I want to know how can I test if an object exists. For example, my API return these things : "data": [ { "id": 1, "name": "Abu Dhabi", "locale": "AE", "rentWayCountryId": 242, "stations": [ { "id":…
Mehdy Driouech
  • 401
  • 1
  • 4
  • 6
34
votes
9 answers

How to post object and List using postman

I am using postman packaged app to send a post request. I want to request the following controller. How to send a post requestbody using postman object(with values) and a list using the raw format? @RequestMapping(value = "register", method =…
heshjse
  • 878
  • 2
  • 14
  • 30
33
votes
9 answers

Postman launches with a blank screen

This is now the third or fourth time that this has happened in the last couple of weeks: When I launch Postman all I get is a blank screen: The only way to get around this that I have found is to reboot my workstation, which is of course a PITA. I…
JL_SO
  • 1,742
  • 1
  • 25
  • 38
33
votes
10 answers

Get Firebase Access Token in POSTMAN

In my web application, I am using Firebase for Authentication, to access any API, I have to authenticate from firebase. Question: How can I get access token of firebase in Postman? I have 2 solutions for this problem: 1) Get Access Token from…
Farhan Chauhan
  • 515
  • 1
  • 5
  • 14
33
votes
3 answers

How to send elasticsearch multi search request in Postman?

I'm trying to send elasticserach multi search request via postman as below: POST - http://localhost:9200/_msearch content-type :…
Ra Ka
  • 2,995
  • 3
  • 23
  • 31
33
votes
5 answers

How do I capture https requests with Postman native app using Windows 10?

I am using the Postman native app on Windows 10 and am struggling with trying to capture https requests. Postman's Documentation for this is for Mac and not Windows. In particular, I am working on a web application that creates a session cookie upon…
Joe Borysko
  • 493
  • 1
  • 7
  • 16
33
votes
5 answers

How can I access Request object in PostMan

As title, How can I access Request object in PostMan ? Is it possible to create a testcase like this tests["Response content restaurant Id : ", req.body.restaurantId] = responseBody.has(req.body.restaurantId);
Trung
  • 1,372
  • 2
  • 14
  • 21