Getting RESTful

In notebook:
FrontEndMasters API design
Created at:
2016-03-13
Updated:
2016-03-13
Tags:
backend JavaScript

Definition of REST

No wrong answer. The definition is like 50 pages...
It's not a real standard, or http protocol. It's just a way they came up with.
Representation state transfer. 
  • It should be stateless. (Should not pass around information about previous requests, for example) Each request is "fresh"
  • use HTTP verbs (GET, POST)
  • directory-like URL pattern to a resource
  • transfer JSON or XML (consume or emit)
Lots of tools to model the API. Will not use these for the workshop.