REST Architecture
In this lesson, we will learn about the REST architecture and its guiding principles.
We'll cover the following...
Guiding principles of REST
A RESTful service needs to comply with the following 6 guiding constraints:
-
Client–Server
– the main principle behind this is the separation of concerns, i.e, separating the user interface concern from the data storage concerns. By following this principle, we can improve the:- portability of the user interface across platforms
- scalability by simplifying the server component
-
Stateless
– each request from the client must be sent to the server with all the necessary ...