Computers and the Internet · Talking at scale
What is REST?
REST is the web's own style applied to APIs. Things are resources at URLs, a few standard methods act on them, status codes report the outcome, and every request carries what the server needs.
- Time22 min
- LevelDeveloper
- Pictures13 diagrams
- Check6 questions







Create POST /orders with the items; reply 201 Created and Location /orders/43.
Read GET /orders/43 returns the order as JSON, with an ETag.
Change PATCH /orders/43 sets the delivery address; If-Match guards against overwrites.
Refuse PATCH after shipping gets 409 Conflict with a problem-details body.
Remove DELETE /orders/43 replies 204 No Content; repeating it changes nothing.