© 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 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.