Accenture interview question

How does it get response to middleware when it comes to restapi calls?