Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ask HN: What is REST exactly?.
So basically, instead of having the following endpoints: site.com/create_user site.com/delete_user site.com/show_user site.com/update_user
You'd instead have a single use endpoint like so: site.com/user
And throw different HTTP verbs at it to signify the action.
It's definitely a well-defined concept and been part of Ruby on Rails since version 1.2.
There are no comments on this comment yet.
So basically, instead of having the following endpoints: site.com/create_user site.com/delete_user site.com/show_user site.com/update_user
You'd instead have a single use endpoint like so: site.com/user
And throw different HTTP verbs at it to signify the action.
It's definitely a well-defined concept and been part of Ruby on Rails since version 1.2.