3 ms·
I'm not sure about httpie but using curl with jq also gives nice formatted and coloured responses. curl ... | jq '.'
by mateuszf 12y ago
I'm not sure about httpie but using curl with jq also gives nice formatted and coloured responses.
curl ... | jq '.'
- acdha 12y agojq is awesome, particularly if you need to filter or otherwise process JSON, but the great part about httpie is that it works with just about everything so you don't have to remember a different filter chain for each type of content. It uses pygments which means you also get nested formatting for e.g. CSS or JavaScript inside an HTML document.
- mateuszf 12y agoAwesome, thanks!