Understanding the data contract between services

Before we modify the unwanted HTTP call, let's understand the data contract between microservices.

Imagine that we just created an application and that we should call a microservice to complete a task for our business. We read the microservice documentation with which we must communicate and implement a client to make the calls. When we try to integrate with the microservice, we get an error. Something in the microservice signature is not exactly the same as the documentation that was used as the basis for creating our client.

The preceding scenario is much more common than you can imagine. Microservices change all the time, and microservices signature breaks are often more common than they ...

Get Microservice Patterns and Best Practices now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.