Best way to implement 5000 api calls in a single service execution
I am calling an API 5000 times in a for loop with separate key id's , its taking sometime to fetch the data and update in the datatable and is getting script timeout after 10 minute(600 seconds).
Can anyone suggest an efficient way to handle this scenario and for an optimized solution.

