Transfer data to or from a URL; -I requests response headers only.
curl -I https://example.comLINUX COMMAND ATLAS · COMMAND GUIDE
Transfer data to or from a URL; -I requests response headers only.
curl manualcurl [OPTION]... URL...
Transfer data to or from a URL; -I requests response headers only.
curl -I https://example.comSave a successful response to a file and report errors.
curl -fsS https://example.com/data.json -o data.jsoncurl can send data and change remote state as well as download files. Check the URL, headers and request method before using -d or -X.