Headers
Curl
curl -v http://example.com
Use head method (request only headers not the content)
curl -I -v http://example.comUsing Get method
curl -X GET demo.ine.local Sending OPTIONS request (To check supported methods on the webpage)
curl -X OPTIONS demo.ine.local/login.php -v
curl -X POST demo.ine.local/login.php -d "name=john&password=password" -vLast updated