How can I respond back on same gin context if response to be sent is received on some other endpoint
So, I have to handle sync call in async way.
My go microservice using gin context receives request on /req endpoint, and I have to send it to some other microservice say B, after performing validations, which will give me acknowledgement that it received the request.
Upon receiving request B will perform operation and respond to my microservice at /resp endpoint.
Now the response which came from B has to be sent back to the service which sent request on /req.
Note: I have to write back response on same context from which I initially got request at /req.