We have seen how service discovery can be used to get the set of instances for a service, and how data can be serialized for transport between the client and the server. Let's now look at one of the most popular options of interaction between the client and any instance.
Representational State Transfer (REST)
Concepts
REST, or Representational State Transfer, is an architectural style for API interactions over HTTP. It is an application-level standard for the communication between the client and the server and is characterized by statelessness and clear client-server separation of concerns.
The key abstraction in this style is that of resource, which can be anything: a document, a ticket, a user, a collection of other...