3. REST is an architectural style for distributed
hypermedia systems.
REST provides a set of architectural constraints that, when
applied as a whole, emphasizes scalability of component
interactions, generality of interfaces, independent deployment of
components, and intermediary components to reduce interaction
latency, enforce security, and encapsulate legacy systems.
REST is de鍖ned by 4 interface constraints:
* identi鍖cation of resources;
* manipulation of resources through representations;
* self- descriptive messages;
* hypermedia as the engine of application state