Sunday, September 15, 2013

curl usage to get header

curl usage to get header

Why does this not work:
curl -X HEAD http://www.google.com
But these both work just fine:
curl -I http://www.google.com
curl -X GET http://www.google.com

No comments:

Post a Comment