What Request components can you set or modify using Postman?
Experience Level: Junior
Tags: PostmanTools
Answer
Every HTTP request can have the following components. Postman allows you to set them easily:
- HTTP method (GET, POST, PUT, DELETE, PATCH, ...)
- URL
- Params (Query string parameters)
- Headers
- Body
- Cookies
Except standarad HTTP components, you can also attach:
- Pre-request scripts - these scripts will be executed before the request is sent
- Tests - these tests will be executed after the response is received
Related Postman job interview questions
In Postman, what are Workspaces good for?
PostmanTools JuniorWhat is Environment in Postman and why would you create one?
PostmanTools JuniorWhat Response body formats does Postman support and when would you use each of them?
PostmanTools JuniorWhat Response parts can you inspect using Postman?
PostmanTools JuniorHow do you send a Request in Postman?
PostmanTools Junior