W_Lopes
New member
Hello developers.
I would like to understand how you would solve the problem below:
An application that makes a large number of requests to an external API, this external API in recent days has been showing several request errors, so I needed to set up a structure that keeps trying several times to get it right (maximum of 5 attempts).
I believe that this is not the best way, and the request errors happen because I am sending the requests without having an interval.
What is the best practice for creating an API request framework that needs to send multiple requests to an endpoint without overwhelming it?
I would like to understand how you would solve the problem below:
An application that makes a large number of requests to an external API, this external API in recent days has been showing several request errors, so I needed to set up a structure that keeps trying several times to get it right (maximum of 5 attempts).
I believe that this is not the best way, and the request errors happen because I am sending the requests without having an interval.
What is the best practice for creating an API request framework that needs to send multiple requests to an endpoint without overwhelming it?