Creating our first request

In Postman, the object that contains the properties of the API to be tested is called a request. This request contains the configuration of the API itself, but it also contains the tests that are to be performed to check it's functioning properly.

The main parameters of a request are as follows:

  • The URL of the API
  • Its method: Get/POST/DELETE/PATCH
  • Its authentication properties
  • Its querystring keys and its body request
  • The tests that are to be performed before or after the execution of the API

The creation of a request is done in two steps: its creation in the collection and its configuration.

  1. The creation of the request: To create the request of our API, here are the steps that need to be followed:
    1. We go to ...

Get Learning DevOps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.