Curl noob here too, but I’ve picked up a few things!
To download a file quietly: `curl -s -O [url]`
For POST requests, this works:
`curl -X POST -d "name=foo&status=bar" [url]`
Struggled with auth until I found `-u user:pass`. Also, `-v` helps debug when things go sideways.
For cleaner output, `grep` or `jq` are clutch.
To download a file quietly: `curl -s -O [url]`
For POST requests, this works:
`curl -X POST -d "name=foo&status=bar" [url]`
Struggled with auth until I found `-u user:pass`. Also, `-v` helps debug when things go sideways.
For cleaner output, `grep` or `jq` are clutch.
