Hey there, new here and looking to improve upon my AWS knowledge and understand microservices a little more
I have a hopefully simple question thats making me a little confused.
I’ve been reading on line that it’s not good to allow one microservice to call another due to coupling. This makes sense, but, how would I do something like validate that the passed in ID exists in the other microservice (for example, I am creating a user in POST /user and this contains a country ID, Countries is another microservice, /countries).
In addition to this, how would I return the Country record from countries service when fetching a User from the users service?