curl and jq 8 · Debugging and reliability
Retry on failure
Retry up to five times on transient errors.
curl --retry 5 --retry-delay 2 https://example.com
Official curl and jq 8 documentation
More debugging and reliability commands
- See the whole exchange
- Fail on HTTP errors
- Set a timeout
- Skip TLS certificate checks
- Test a host before DNS changes
All debugging and reliability commands · curl and jq 8 cheatsheet