mac curl example Example 1: install curl mac brew install curl Example 2: mac terminal curl curl --head -X GET <url>