Retry post request
Opened this issue · 1 comments
eldoy commented
Is there a reason why post
requests are not retried by default?
I have to do this to make post
requests work:
if (typeof config.retryCondition != 'function') {
config.retryCondition = function (error) {
return axiosRetry.isRetryableError(error)
}
}
gitSambhal commented
@eldoy post
is not idempotent request and this package only retries the idempotent requests by default. You can read about it https://blog.hubspot.com/website/idempotent-api