`--compressed` is underrated! Saves bandwidth and time when APIs gzip responses.
Also, `-m 10` to timeout after 10 secs stops hangs. Nobody’s got time for infinite spinning.
For cleaner commands, I break lines with `\` and comment with `#`. Example:
```
curl -X POST \
-H "Auth: Bearer token" \ # auth header
-d '{"key":"val"}' \ # payload
https://api.example.com
```
Also, `-m 10` to timeout after 10 secs stops hangs. Nobody’s got time for infinite spinning.
For cleaner commands, I break lines with `\` and comment with `#`. Example:
```
curl -X POST \
-H "Auth: Bearer token" \ # auth header
-d '{"key":"val"}' \ # payload
https://api.example.com
```
