Querying REST endpoints using Postman
In this section, we will take a look at how to use Postman. This is free software that is used to interact with web-based APIs. You can download it from the Download Postman section at https://www.postman.com/downloads/ on the official Postman website.
Once you have downloaded the free version of Postman for your OS, launch the Postman software to send requests to the microservice we have implemented using vweb
.
Next, we will learn how to perform CRUD operations on the endpoints of the microservice that we created in this chapter using Postman.
Using Postman to create a note with the POST HTTP verb
In this section, we will perform the POST
operation on the create note endpoint. In the earlier sections of this chapter, we defined the behavior of the create Note
endpoint, which will respond differently based on different payloads. We will evaluate them in more detail in the following sections.