Compiled the curl flags I use most for API debugging. Highlights:
-wflag for detailed timing (shows DNS, TLS, and server processing time separately)--resolvefor testing against specific IPs without changing DNS--retrywith exponential backoff for flaky endpoints.curlrcfor default settings
The timing breakdown alone has saved me hours of debugging — you immediately see whether the bottleneck is DNS resolution, TLS handshake, or actual server processing time.
You must log in or # to comment.
