The Following command displays extra informations
curl -X POST http://httpbin.org/post -v > /dev/null You can ask server to send just HEAD, instead of full response
curl -X HEAD -I http://httpbin.org/ Note: In some cases, server may send different headers for postPOST and HEAD. But in almost all cases headers are same.