I love using curl to do HTTP queries. Some people prefer Postman or some other UI tools to check http calls but for me CURL is the shit for me.
Come across a really good post about how you can actually ask for specific headers to show in the output: http://beerpla.net/2010/06/10/how-to-display-just-the-http-response-code-in-cli-curl/
Basically, you can use the “-w” option and there are a list of variables you can use:
Won’t say too much here since it’s all in Artem Russakovskii’s post.