Calling multiple api in a recursive manner in a single api call

Not applicable

Hello,

I have a scenario where I receive an API call with multiple events in the request. For every event, I have to call target API's depending on the event type in a sequential manner and collate the results before send the response. Is this possible in Apigee. If yes, can you provide what policies can be engaged to achieve the expected result?

Thanks.

0 1 646
1 REPLY 1

Not applicable

You'll probably want to leverahe Node.js Async call for this or even promises. There are a bunch of articles about it. Check this one out. Or take a look at this https://www.google.com/#q=apigee+community+node.js+concurrent+multiple+request+parallel with a bunch of methods for same. Hope it helps!