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

The RESTful Web

In the previous chapters, we looked at two of the most important components of Go—goroutines and channels. In the following chapters, we will build a distributed application using Go, and it is very important to understand how to write applications for the internet or, in our case, the web. In this chapter, we shall look at a particular way of building web applications using the REST web protocol. We shall also look at how to interact with a REST-based web application. We shall be covering them in the following manner:

  • A brief look at HTTP and sessions
  • Fundamentals to build a REST server
  • Design a simple REST server
  • Tools to interact with a REST server

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