O'Reilly logo

Distributed Computing with Go by V.N. Nikhil Anurag

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Postman

Let's now look at a GUI-based tool that can be used to make REST calls called Postman (https://www.getpostman.com/). For the sake of brevity, we shall look at a GET and a POST call.

The following screenshot illustrates how to make a GET request using Postman. Note how Postman allows us to view the returned JSON in an easy-to-read format:

GET /api/books

The following screenshot shows how to make a POST request. Note that we could easily provide it with a JSON payload:

POST /api/books

Hopefully, the previous sections and these screenshots ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required