заглавията на резба
# -i to include response headers in the output.
# -H to specify a header
# -X to specify the request method
curl -i -H "Accept: application/json" -H "Content-Type: application/json" -X GET http://hostname/resource
заглавия отговори curl-проверка
Just use '-ISs' flag options I:(only headers), sS:(silence and no errors)
curl www.example -ISs
къдря минава заглавие
curl -H "Accept-Charset: utf-8" -H "Content-Type: application/x-www-form-urlencoded" http://www.some-domain.com
заглавие възел curl
curl --header "Host: example.com" http://127.0.0.1/