`-I` (HEAD request) is underrated—great for checking if a URL exists or getting headers without downloading the whole file.
Also, `--compressed` auto-deflates gzipped responses, which is nice if you’re fetching big JSON blobs.
For memorizing, I write little aliases for common curl command line options in my `.bashrc`. Like `alias curltime='curl -w "\nTime: %{time_total}s\n"'`.
Also, `--compressed` auto-deflates gzipped responses, which is nice if you’re fetching big JSON blobs.
For memorizing, I write little aliases for common curl command line options in my `.bashrc`. Like `alias curltime='curl -w "\nTime: %{time_total}s\n"'`.
