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
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset