REST Endpoints
REST Endpoints: Designing REST Endpoints: Create, Update and Delete.
Updated
- Designing REST Endpoints: Create, Update and Delete (Journeyman): A REST API names each kind of thing it holds with a plural noun, such as /tickets, and lets the HTTP method be the verb, so POST answers 201 with the new item, PUT replaces an item, PATCH changes part of it, and DELETE answers 204 with no body.