Show response header & body
curl --include https://somehost
Show only response header
curl --head https://somehost
curl -I https://somehost
Add request headers
curl --header "X-MyHeader: 123" --header "X-AnotherHeader: foo" https://somehost
curl --include https://somehost
curl --head https://somehost
curl -I https://somehost
curl --header "X-MyHeader: 123" --header "X-AnotherHeader: foo" https://somehost