Register to get access to free programming courses with interactive exercises

Postman HTTP API

Postman is a service used for manual and automated testing for HTTP APIs. You can use it to execute any queries through a user-friendly web interface, create tests that check APIs' operation automatically, and much more. Postman isn't the only service of its kind, but it is the most popular.

Requests via Postman

Work inside Postman is done in workspaces. By default, after registering, you'll already have My Workspace created for personal tasks and experiments.

Postman workspaces

Inside the workspace, in the center of the screen, there's a block where you can create tabs and make HTTP requests.

Postman Workspace

Each tab describes a specific query that we want to make. In fact, this is the central part of the whole service, here you specify the URL, HTTP method, headers and all the parameters that need to be set to perform the request.

Executing a query in Postman

Once the request is defined, you can press send, which will execute the request. At the bottom, you'll see a formatted version of the answer. In addition to the HTTP response, Postman shows the amount of data transferred, the request time, and other useful parameters.

Response after an inquiry to Postman

The best way to learn the Postman interface is through experimentation. Try making several different requests to dummyjson using the most complex requests, including request parameters, body and POST, DELETE and PUT methods, as well as token authentication.

Running queries through Postman is not technically different from working with Curl, except for the convenience of entering information using the web interface. The main advantage, however, is the ability to describe the API of a service as a whole thing You'll easily be able to return to this description, either for experiments or for testing. In Postman terms, such a description is called a collection.

Creating a collection in Postman

A collection consists of a set of endpoints that can be linked by a single authentication method, query parameters, variables (to substitute values in the URL) and other elements. All this is set in the settings of the collection itself, or for the specific endpoints.

Code Basics collection at Postman

These are just the basic features of Postman. The advanced ones include tools for API design and testing, backend emulation if there's no API, API operability monitoring, and much more.

Do it yourself

  1. Register with Postman
  2. Create a collection for the API

Recommended materials

  1. Code Basics Collection

Hexlet Experts

Are there any more questions? Ask them in the Discussion section.

The Hexlet support team or other students will answer you.

About Hexlet learning process

For full access to the course you need a professional subscription.

A professional subscription will give you full access to all Hexlet courses, projects and lifetime access to the theory of lessons learned. You can cancel your subscription at any time.

Get access
hours of theory

Sign up

Programming courses for beginners and experienced developers. Start training for free

  • 130 courses, 2000+ hours of theory
  • 1000 practical tasks in a browser
  • 360 000 students
By sending this form, you agree to our Personal Policy and Service Conditions

Our graduates work in companies:

<span class="translation_missing" title="translation missing:">Bookmate</span>
<span class="translation_missing" title="translation missing:">Healthsamurai</span>
<span class="translation_missing" title="translation missing:">Dualboot</span>
<span class="translation_missing" title="translation missing:">Abbyy</span>
Suggested learning programs

From a novice to a developer. Get a job or your money back!

Frontend Developer icon
Development of front-end components for web applications
start anytime 10 months

Use Hexlet to the fullest extent!

  • Ask questions about the lesson
  • Test your knowledge in quizzes
  • Practice in your browser
  • Track your progress

Sign up or sign in

By sending this form, you agree to our Personal Policy and Service Conditions
Toto Image

Ask questions if you want to discuss a theory or an exercise. Hexlet Support Team and experienced community members can help find answers and solve a problem.