REST is a programming style which describes how data should be transferred between two systems on the Internet. The key pr
inciples of REST are as follows:
Client–server : There must be a clear separation between client and server such that clients are not concerned with data storage and servers are not concerned with the User Interface.
Stateless: State
information is not stored on the server. A client request must contain all information like session to service the request.
inks_tag">
Cacheable : The server must indicate if request data is cacheable.
Layered system: To improve performance instead of an API server intermediaries like load balancers must be able to serve requests.
Uniform interface : The communication method between the client and server must be uniform.
Code on demand (optional) : Servers can provide executable code for the client to download and execute.