All questions

Advanced · JavaScript · Resilience

API: retry on rate limiting

Commonly asked: Senior API automation rounds · ~12 min

Write getWithRetry(request, url, maxAttempts) that retries while the response status is 429 or 503, up to maxAttempts total calls.

Checking your membership…