Last updated

REST Workshop

Estimated reading time: 1 minutes

Table of contents

REST API workshop

We held our first internal workshop today on REST APIs.

The video and slides are below and a link to the apiary.io discussion project can be found here.

What is REST?

tl;dr

GET     /users              ->  index
GET     /users/new          ->  new
POST    /users              ->  create
GET     /users/:user        ->  show
PUT     /users/:user        ->  update
DELETE  /users/:user        ->  destroy

Convention Not Standard

Why this convention?

What to think about

What’s the best way to learn?

REST.next or Hypermedia

REST doesn’t work for everything

Conclusion

Have an update or suggestion for this article? You can edit it here and send me a pull request.

Tags

Recent Posts