Sending the first request using Postman

Let's send our first request for an API using Postman. For this test, we will be using the  postman-echo.com site, which Postman hosts to test the APIs, as mentioned in the preceding section. Instead of using postman-echo.com, you can use other sites that you are familiar with, that will respond to HTTP GET/PUT/POST requests:

  • Open Postman on your operating system
  • In the URL field, enter postman-echo.com/get
  • Make sure to have GET selected in the HTTP request type field
  • Hit the Send button to send your API request, and at the bottom you will see the response from the API with JSON data. As we have tested the request/response for postman-echo.com, the request that we made is added to the history, as you can see in the following screenshot. You can see postman-echo.com/get under the History tab of the sidebar: