curl headers
# -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 headers
# -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 host header
curl --header "Host: example.com" http://127.0.0.1/
curl pass a header
curl -H "Accept-Charset: utf-8" -H "Content-Type: application/x-www-form-urlencoded" http://www.some-domain.com
curl check response headers
Just use '-ISs' flag options I:(only headers), sS:(silence and no errors)
curl www.example -ISs
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us