Skip to content

Files

Latest commit

9327302 · Jun 4, 2019

History

History
58 lines (38 loc) · 814 Bytes

rest.md

File metadata and controls

58 lines (38 loc) · 814 Bytes

REST

Create

Create a new resource:

POST  /user/posts

Read

Retrieve a collection of resources:

GET  /user/posts

Retrieve a known resource:

GET  /user/posts/1

Retrieve a filtered collection of resources:

GET  /user/posts?author=jdoe

Update

Update a known resource:

PUT  /user/posts/1

Partially update a known resource:

PATCH  /user/posts/1

Delete

Delete a known resource:

DELETE  /user/posts/1

Links