mac terminal curl trim response code example
Example: mac terminal curl trim response
curl --silent --output /dev/null --show-error --fail http://example.com
curl --silent --output /dev/null --show-error --fail http://example.com