Closed formatsystem closed 2 months ago
Unirest has a retry mechanism available in the config. It is designed for use with APIs that support the retry-after header but it can be customized. See the Unirest::config::retryAfter
methods in particular the one that allows you to set a RetryStrategy
I want to use an interceptor to resubmit the response after it fails. However, it seems that there is no relevant function or is there any good way to implement it?