DEV Community

Discussion on: Unsung Heroes of the Command Line

Collapse
 
jacoby profile image
Dave Jacoby

So, you may use curl to GET an API response, and jq to display it in a pretty way.

But that's two things, and you want one.

httpie

And Boris got there first...

Collapse
 
hoelzro profile image
Rob Hoelz

Yeah, that's true! I kind of like the separation of "fetching the contents at a URL" and "coloring/diving into the structure" each provide; if I wanted a shortcut, I'd probably just make a shell function or alias. But maybe httpie has some features I could make use of!