Hacker News new | ask | show | jobs
by theMiddleBlue 2286 days ago
I'm testing it, maybe I'm doing it wrong but I don't understand well if it's possible to show only the json output (and not both json and response body). I'm doing it with a trick:

curl -I -XGET -w '%{json}' https://www.google.com | tail -1 | jq

1 comments

    -o /dev/null