mac terminal curl commands code example
Example 1: mac terminal curl
curl --head -X GET <url>
Example 2: mac terminal curl
curl --silent --output /dev/null --show-error --fail http://example.com
curl --head -X GET <url>
curl --silent --output /dev/null --show-error --fail http://example.com