do you often pipe curl to jq and have trouble when you also want to see the response headers with -i?

hack of the day: curl -s -D /dev/stdout -o >(jq) https://url...

`-D /dev/stdout` dumps headers to stdout
`-o >(jq)` uses bash process substitution to pipe the response body separately to a jq process

0

If you have a fediverse account, you can quote this note from your own instance. Search https://hails.org/users/hailey/statuses/115607774568161102 on your instance and quote it. (Note that quoting is not supported in Mastodon.)