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