Question
Cognizant
IN
Last activity: 28 Mar 2024 3:43 EDT
Is it possible to execute a REST API call in parallel?
Hi, In my application, we configured a Connect-REST API with POST method. This method we are using to get Quoting details from external data base. Currently, we are calling this API in sequence, means for 5 records we are calling the same API 5 times. However, in the store procedure, it takes 1 minute for each record, resulting in 5 minutes for 5 records. I want to reduce the time to less than 2 minutes for 5 quotes. Therefore, I'm checking if there is any possibility to call the same API with 5 different sets of parameters at the same time in parallel. Kindly suggest.