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.