cURL Up and Dye
This post records problems I've encountered while using cURL1.
1. Retrieve HTTP Head
Instead of curl -XHEAD https://example.com, use curl --head https://example.com.
2. Automatich POST method
When the --data parameter is used, curl uses POST method automatically,
which could be overwritten with an explicit --request or -X though.
Footnotes:
1
cURL, or curl, https://curl.se/