REST (Representational State Transfer)
What is REST (Representational State Transfer)?
REST (Representational State Transfer): An architectural style for APIs that uses standard HTTP methods (GET, POST, PUT, DELETE) and stateless communication. RESTful APIs are the most common web API type. REST, Representational State Transfer, is a style for designing web APIs around resources and standard HTTP methods. GET /orders lists orders, POST /orders creates one, GET /orders/42 fetches one, PATCH updates and DELETE removes it.
Frequently asked questions about REST (Representational State Transfer)
How is REST (Representational State Transfer) used in practice?
Each request is stateless: it carries everything the server needs, usually including an authentication token. Responses use proper status codes and, almost always, JSON.
What should you keep in mind with REST (Representational State Transfer)?
REST's strength is predictability. A developer who knows the conventions can guess much of a new API. Stick to them: plural nouns, consistent error formats, correct status codes, pagination for lists and versioning for breaking changes. Most business integrations, from payment providers to accounting software, use REST APIs, so it is usually the right starting point for your own.
At a glance
| Category | Core glossary |
|---|---|
| Explained by | Reinier de la Parra |
| Updated |