Upgrade to Pro — share decks privately, control downloads, hide ads and more …

REST: Key Concepts

Adam
March 31, 2015

REST: Key Concepts

Main points of REST: Methods, Status codes, Error handling, Versioning, Documentation, Testing

Adam

March 31, 2015
Tweet

More Decks by Adam

Other Decks in Programming

Transcript

  1. Methods OPTIONS Returns available HTTP methods on resource(s) GET Retrieves

    resource(s) POST Creates a resource PUT Creates/Updates a resource PATCH Updates a resource (partially) DELETE Deletes a resource
  2. Status Codes Status code Meaning 1xx Informational 2xx Success 3xx

    Redirection 4xx Client Error 5xx Server Error http://httpstatus.es/