uniform interface
The REST constraint that every resource is handled through the same small set of methods, status codes and message rules.
In more detail
Because GET means the same thing for a task, an owner or a job, clients, caches and intermediaries can work with any resource without special knowledge. It includes self-descriptive messages and hypermedia links to the next available actions.
Related terms
- REST — An architectural style for networked software built on named resources, representations of their state, stateless requests and a uniform interface.
- HTTP method — The verb at the start of a web request that says what the client wants, such as GET to read or POST to create.
- hypermedia — Links placed inside representations so clients discover related resources and available actions instead of building addresses themselves.
Taught in
- The REST Constraints — Modern API Architecture: REST, GraphQL & gRPC
- When Each Wins: REST, GraphQL, gRPC And SOAP — Modern API Architecture: REST, GraphQL & gRPC