Example resource: posts
HTTP Method (Verb) |
Path/Endpoint/URI | CRUD Operation | Typical Controller Action |
Has Data Payload |
---|---|---|---|---|
GET | /posts | Read all posts | index | No |
GET | /posts/:id | Read a specific post | show | No |
POST | /posts | Create a new post | create | Yes |
PUT | /posts/:id | Update specified post | update | Yes |