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
189
votes
13 answers

Websocket connections with Postman

I'm using Postman to test an existing REST API. This API calls async functions on the server which return a response over a websocket using StompJS. Is it possible to connect to the websocket using Postman?
Mr. Martini
  • 2,057
  • 3
  • 13
  • 9
183
votes
16 answers

Postman: sending nested JSON object

I am using ASP.NET Web API: http://xyzdomain.com:16845/api/returns/returns How do I send a POST request to the endpoint using Postman Chrome extension, given Items is a collection: [ { "Items": [ { "sku": "9257", "Price":…
user3965303
  • 1,831
  • 2
  • 12
  • 5
173
votes
6 answers

CORS with POSTMAN

This subject has been asked a couple of time, but I still don't understand something: When I read answers about No 'Access-Control-Allow-Origin' header issue, it says a setting should be set on the requested server in order to allow cross domain:…
IsraGab
  • 4,819
  • 3
  • 27
  • 46
157
votes
6 answers

Send POST data via raw JSON with Postman

I've got Postman (the one that doesn't open in Chrome) and I'm trying to do a POST request using raw JSON. In the Body tab I have "raw" selected and "JSON (application/json)" with this body: { "foo": "bar" } For the header I have 1,…
Smern
  • 18,746
  • 21
  • 72
  • 90
139
votes
12 answers

How to delete session cookie in Postman?

I am testing my API in Postman and am having trouble simulating a log out. If I do a call to delete the session cookie, the session cookie is still there afterwards, and I'm still able to access routes that require authentication. The route handler…
Nelu
  • 16,644
  • 10
  • 80
  • 88
138
votes
5 answers

How do I format {{$timestamp}} as MM/DD/YYYY in Postman?

In Postman, the dynamic variable {{$timestamp}} inserts the current Unix Time Stamp into a request. (Represented as the number of seconds since January 1, 1970) "currentTime": "1510934784" However, the API I am working with expects timestamps…
Stevoisiak
  • 23,794
  • 27
  • 122
  • 225
135
votes
4 answers

How to turn off all SSL checks on Postman for a specific site?

Please read this carefully. Please do not send me a link on how to import a certificate. I am using Postman for QA and testing work. I have a test system I frequently rebuild myself and so it is completely trusted. It has a custom self-signed…
PJLopez
  • 1,459
  • 2
  • 9
  • 4
128
votes
13 answers

Where are Postman collections saved?

Where does the standalone Postman client for Windows save collections when working offline? To clarify, I want to find where Postman saves collection files to by default when online syncing is disabled. I am not trying to export my collection as a…
Stevoisiak
  • 23,794
  • 27
  • 122
  • 225
126
votes
8 answers

Sending cookies with postman

I read the manual of sending request with cookie with postman: As the packaged app runs in a sandbox separately from the browser, it can not access cookies set inside the browser. This restriction can also be overcome using the Interceptor…
MIDE11
  • 3,140
  • 7
  • 31
  • 53
111
votes
3 answers

How can I generate swagger based off of existing postman collection?

I am developing a REST API. during development I have used postman (chrome extension) to use and document my API. It is a wonderful tool and I have most of my API endpoints in it. However, as we near release I would like to document this API in…
StuBob
  • 1,490
  • 2
  • 10
  • 13
107
votes
8 answers

Using Postman to access OAuth 2.0 Google APIs

I am trying to access Proximity Google API using Postman chrome app. I have followed tutorials on postman and google dev website but I'm still getting 401 error message. What am I doing? Step 1 - Enable Proximity API: In order to use Proximity…
Sai
  • 2,089
  • 3
  • 19
  • 30
101
votes
3 answers

Postman addon's like in firefox

Is there a recommended add-ons in the firefox, which is has the most features that postman have?
hbak
  • 1,333
  • 3
  • 10
  • 22
94
votes
10 answers

Pass NTLM with Postman

Is there a way to pass Windows Authentication with postman? I have added this in header but still 401 Unauthorized. Authorization: NTLM TkFcYWRtaW46dGVzdA== As suggested by this link. I've encrypted as Unicode (UTF-16, little-endian) but of no…
user1618825
93
votes
7 answers

"Post Image data using POSTMAN"

I am trying to POST data to my API. I have a model with an image field where: image = models.ImageField() I have an image on my local box, which I am trying to send. Am I sending it correctly? { "id": "3", "uid":"273a0d69", "uuid": "90", …
User_Targaryen
  • 4,125
  • 4
  • 30
  • 51
90
votes
14 answers

How to send graphql query by postman?

I use POST type URL http://######/graphql Body: query: "query: "{'noteTypes': {'name', 'label', 'labelColor', 'groupName', 'groupLabel', 'imageUrl'}}" But it return "message": "Must provide query string."
ZPPP
  • 1,567
  • 2
  • 18
  • 27