6.3 RESTful services
Microservices may communicate synchronously or asynchronously, using different protocols for message organization and communication. I don’t have space to go into all of the possible protocols here, so I focus on one of the most commonly used approaches for service interaction—namely, the RESTful “protocol.”
Strictly speaking, there is no such thing as a RESTful protocol, as this approach has not been standardized. Rather, it is a set of conventions for service communication based on the HTTP Internet Protocol and the hierarchical representation of resources. RESTful services follow the REST (REpresentational State Transfer) architectural style and communicate using the HTTP protocol.
The REST architectural style is based ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access