There are design rules that are applied to establish the different characteristics of the REST architectural style, which are referred to as REST constraints:
The preceding diagram depicts REST constraints in a typical web/internet-based application. The following are the REST constraints:
- Client-server
- Statelessness
- Cacheable
- Uniform interface
- Layered systems
- Code on demand