Better HN
topnewbestaskshowjobs
Log inSign up

theMiddleBlue

1 karma · joined Mar 17, 2020 (6y ago) · 1 submissions

Submissions

comment 6y ago · link · parent

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