Popular `curl` terminal commands
Attach a header to an HTTP request with cURL
Uses the --header flag to attach an additional header when sending a request to a url.
Authored by: Tader
cURL a URL and follow redirects
Curls a URL and follows redirects by using the -L flag. To limit the number of redirects, append `--max-redirects <num>`.
Authored by: freedev
Display request headers from a cURL request
Runs curl in verbose mode to display the request headers that were sent with a request.
Authored by: Asaph
POST JSON data with cURL
Sends a POST request with JSON data using curl by setting the content-type of the request to "application/json".
Authored by: Sean Patrick Floyd
Set an OAuth authorization header with a cURL request
Sends a request using cURL with an OAuth access token.
Authored by: Tony