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.

Get Go Web Development Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.