WTF is REST?

@notion

getnotion.com

@switzerly

shelbyswitzer.com

WTF does this have to do with REST?

1. Starting with Null State

2. Client-Server

3. Cache

4. Stateless

5. Uniform Interface

6. Layered System

The RESTful Interface

  • Identification of resources
  • Manipulation of resources through representations
  • Self-descriptive messages
  • Hypermedia As The Engine Of Application State (HATEOAS)

W(ho)TF uses REST?

Good HTTP Semantics

& Architectural Practices

  • Use status codes correctly
  • HTTP verbs are your friend
  • Headers a f***ing useful
  • No verbs in URLs!
  • Focus on resources
  • Keep business logic on the server

Resources

  • Fielding's thesis (where we got this sh*t): https://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm
  • http://timelessrepo.com/haters-gonna-hateoas
  • http://blog.steveklabnik.com/posts/2012-02-27-hypermedia-api-reading-list
Made with Slides.com