Test and debug RESTful APIs efficiently using Postman’s powerful
features like collections and environments.
Postman is a collaboration platform for API development and testing. It allows users to send HTTP requests, inspect responses, automate workflows, and document APIs.
https://api.example.com/users
)
Postman supports all common HTTP methods:
Customize requests with headers and parameters:
?userId=1
)
Used to send data in POST, PUT, or PATCH requests.
{
"name": "John",
"email": "john@example.com"
}
Select Body → raw → JSON for JSON input.
Collections group related requests together.
Postman supports various authentication schemes:
Import APIs from files, links, or OpenAPI/Swagger definitions:
Variables help reuse values across requests and environments (e.g., API URLs, tokens).
base_url = https://api.example.com
)
{{base_url}}/users
Runs JavaScript code before a request is sent (e.g., generate tokens, time-stamps).
// Example: Add timestamp header
pm.environment.set("timestamp", Date.now());
Run JavaScript after request is sent to validate the response.
pm.test("Status code is 200", function () {
pm.response.to.have.status(200);
});
Postman Console helps debug pre-request and test scripts.
Ctrl + Alt + C
console.log()
in scripts to output valuesExecute a full collection of requests for automated testing.
Run the same request multiple times with data from a file.
{{variable}}
inside requests to access values from
file
Simulate API endpoints when backend isn’t ready.
Postman Monitors automatically run requests at scheduled intervals.
Collaborate with your team by sharing collections.
Postman supports version control via Git using the Postman API or exporting collections.
Workspaces let teams collaborate on shared APIs, collections, and environments.
Use HTML + JavaScript to render API response data visually inside Postman.
const template = `
Name
Email
{{#each response}}
{{name}}
{{email}}
{{/each}}
`;
pm.visualizer.set(template, { response: pm.response.json() });
Manage your API's full lifecycle inside Postman using OpenAPI/Swagger schema.
Newman is Postman’s command-line runner for automating collection runs.
npm install -g newman
newman run collection.json
Public API endpoints for learning and testing Postman features.
https://postman-echo.com/get
Generate sample code for sending requests in different languages.
Keeps track of every request sent (including temporary unsaved ones).
All saved requests, environments, and collections are backed up to the cloud if signed in.
In Team workspaces, manage access to collections and environments.
Postman can be integrated with tools like Slack, GitHub, Jenkins, and more.
Main site for downloads, features, and product updates.
Comprehensive documentation and learning guides for beginners to advanced users.
Details on how to programmatically use Postman's own API (manage workspaces, collections, etc.).
Watch webinars, tutorials, and feature releases.
https://www.youtube.com/c/Postman
Guide to running Postman collections from the command line using Newman.
https://www.npmjs.com/package/newman
Read about use cases, tutorials, and industry trends.
Explore and fork thousands of collections shared by the community and companies.
https://www.postman.com/explore
Source code for open-source Postman tools like Newman.