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
3
votes
0 answers

Oauth generate 16 character nonce in Postman

Postman's oauth 1.0 generates only 6 characters nonce, with which the rest API I am connecting to requires a 16 character nonce. How can I achieve this.
gilokimu
  • 531
  • 4
  • 10
3
votes
1 answer

How to log query string parameters with Postman

I'm using the tests of Postman to log into the console some of the details included in a JSON response. The part of the test that logs is the following: var data = JSON.parse(responseBody); if (data.result[0] !== undefined)…
Lele B.
  • 31
  • 1
  • 2
3
votes
1 answer

JSON tiny validator test doesn't work properly in POSTMAN

[https://i.stack.imgur.com/qeFuv.png][1] I've got few questions about CODE snippets, JSON tiny validator in particular (2) and test tab (1) I'm sending the following POST request ({‌{host}}:{‌{port}}/landlords/{‌{DC_id}}/apartments) to create…
3
votes
2 answers

(Highly dynamic) environment variables in Postman

Postman supports setting environment variables and using them in, say, headers. Consider the following example: Token endpoint /auth/token requires basic Authorization header: Basic {{AUTH_BASIC}} All other endpoints requires bearer Authorization…
Edward Ruchevits
  • 6,411
  • 12
  • 51
  • 86
3
votes
3 answers

Are there any open source tools to transform postman collections to a client sdk?

I am currently in a situation where I have tested some of the APIs provided by a product. I am testing these APIs using postman. I found that RESTUnited is a tool which can take as an input - postman collection and generates swagger document. And we…
a3.14_Infinity
  • 5,653
  • 7
  • 42
  • 66
3
votes
1 answer

Zip file uploaded through Lambda+API gateway with POSTMAN is corrupted

I am doing following steps: I have API gateway ( PUT Method) which integrated with AWS lambda. It is direct mapping in multipart/form-data ( so big logic is happening here ) Now through POSTMAN, file is being uploaded. File is getting…
3
votes
1 answer

Python requests code snippet from Postman

I am trying to check if an email already exists in a website. Currently using a sample Python code from Postman. sample code that works: import requests url = "https://registration.mercadolivre.com.br/registration/" payload =…
Ale M.
  • 175
  • 2
  • 3
  • 11
3
votes
1 answer

How to call API from backend under vscode debugger?

How can I call an API which is being served by the vscode debugger? I would usually call http://localhost:3000/api/plugins, but clearly my project isn't served on that port. My launch.json look like this: { "name": "Launch", …
George Edwards
  • 8,979
  • 20
  • 78
  • 161
3
votes
1 answer

Executing different postman requests in Pre-request Scripts

I am planning to execute different postman scripts before executing current script.I added following code to call other scripts. postman.setNextRequest("Get_Name"); postman.setNextRequest("Get_role"); then in current script call login…
Sree
  • 31
  • 3
3
votes
1 answer

Write web services with existing Laravel Controllers

I have a project in Laravel 5.2 and now I have to make the APIs for that. I tried to hit the localhost/myproject/login via postman as a post request with the parameters but it returns me the HTML in return. I have used Laravel's auth scaffolding for…
baig772
  • 3,404
  • 11
  • 48
  • 93
3
votes
1 answer

ASP.NET core HttpGet single Web API

Good Morning, I’m having difficulty setting up my HTTPGETs and then testing the solution in Postman. I’m trying to return a single result on both occasions however when I input the parameters nothing loads. So I'm clearly missing something which i…
Glenn Sampson
  • 1,188
  • 3
  • 12
  • 30
3
votes
4 answers

Unexpected '<' error for post while using Postman and rails

My JSON response to be populated is as follows: { "vendor": { "name": "Mozelle Luettgen MD", "email": "tyqmn@example.net", "phone_no": "9999997660", "addressline1": "Kulas Stravenue", "addressline2": "64636 Lynch…
Mahesh Mesta
  • 793
  • 1
  • 11
  • 28
3
votes
1 answer

Postman throwing 400 Bad request for multipart/form-data image upload with jersey 2.0

REQUEST : URL: http://localhost:8080/RESTfulExample/rest/file/upload METHOD : POST HEADER: Content-Type : multipart/form-data RESPONSE : HTTP Status 400 - Bad Request The same code is working with html forms but in postman it's throwing 400 BAD…
Naresh Bhadke
  • 293
  • 1
  • 6
  • 17
3
votes
2 answers

401 unauthorised using a bearer token with Laravel Passport

So, I have created a site using Laravel 5.3 and I have installed passport. As far as I can see everything is working just fine with the install and the Vue components to create a token etc. I have created a personal token in my user area and…
James mcconnon
  • 579
  • 5
  • 23
3
votes
1 answer

How to get one specific field of my data with IBM Cloudant and Postman?

I have a database in IBM Cloudant and I use his API url in postman to get data. I have three data (temperature, humidity, sound level) in a JSON file. How to get one specific field of my data such as Humidity for example?
Arthur Josselin
  • 197
  • 1
  • 2
  • 9
1 2 3
99
100