CRUD service

A CRUD service exposes the four basic operations on a resource: create (POST), read (GET), update (PUT or PATCH), and delete (DELETE). It returns the appropriate codes (201 on creation, 204 with no content, 404 if absent) and validates the data.

Example

POST /taches -> 201 ; GET /taches/3 -> 200 ; DELETE /taches/3 -> 204

Related concepts

The whole glossary