I have been using curl -i http://website.com for a long time. It\'s great, it reports the response headers and information.
curl -i http://website.com
I also use a tool jq
jq
Try this command:
curl -s -D /dev/stderr http://www.website.com/... | jq