curl man code example Example: curl I flag User -I flag to only retrieve headers of a curl request: curl -I [url]