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

How to make REST calls

Up to this point, we have used the web browser to make HTTP requests. This works for a normal HTTP server or to make simple GET Requests to a REST server. However, the browser will not be able to make other type of REST calls on our behalf.

Most web applications use JavaScript, Ajax, and other frontend technologies to interact with a REST server. However, we do not have to create a full-blown web frontend to interact with a REST server; we can make use of a few tools and also write programs to make REST calls for us.

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