- Display only headers from the http response
curl -I URL
- Get towards IP using specific "Host" header
curl --header "Host: hostname" http://IP_Address/path_to_file
- Conditional GET using "ETag"
curl URL --header 'If-None-Match: "aaaaaa-bbbbbbbbbbbbb"'
No comments:
Post a Comment