curl and jq 8 · Debugging and reliability
Set a timeout
Give up if the whole operation takes longer than 10 seconds.
curl --max-time 10 https://example.com
Official curl and jq 8 documentation
More debugging and reliability commands
- See the whole exchange
- Fail on HTTP errors
- Retry on failure
- Skip TLS certificate checks
- Test a host before DNS changes
All debugging and reliability commands · curl and jq 8 cheatsheet