Take for example 2 different microservices, user
, address
and patient
with a gateway
.
Upon a creation of a patient, both user and address need to also be created. Therefore, let's say that a call to create a patient comes in from the frontend client:
POST /patient
host: gateway.com
content-type: application/json
{