O'Reilly logo

Go Web Development Cookbook by Arpit Aggarwal

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

Creating your first REST client

Today, most applications that communicate with servers use RESTful services. Based on our needs, we consume these services through JavaScript, jQuery, or through a REST client.

In this recipe, we will write a REST client using the https://gopkg.in/resty.v1 package, which itself is inspired by the Ruby rest client to consume the RESTful services.

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