© Jan Newmarch 2017

Jan Newmarch, Network Programming with Go, 10.1007/978-1-4842-2692-6_14

14. REST

Jan Newmarch

(1)Oakleigh, Victoria, Australia

In previous chapters we looked at HTTP and gave an example of a web system. However, we didn’t give any particular structure to the system, just what was simple enough for the problem. There is an architectural style developed by one of the key authors of HTTP 1.1 (Roy Fielding) called REST (REpresentational State Transfer) . In this chapter we look at the REST style and what it means for building web applications. We have to go back to fundamentals for this.

REST has many components that have to be followed if the term REST can be properly applied. Unfortunately, it has become a buzzword, and many applications ...

Get Network Programming with Go: Essential Skills for Using and Securing Networks now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.