Httpie - The command line HTTP client for APIs

Anyone have used this tools already?

If yes, can you share your experience with it?

2 Likes

Corresponding tweet for this thread:

1 Like

No but I just installed it - looks like it could be handy for testing things with the Discourse API :nerd_face:

1 Like

I use it very often both for quick interaction with some service API and for shell scripting, it has (imho) a much simpler syntax than curl.

The only missing thing that would make it perfect is the possibility of defining nested json parameters in an easy way, at the moment you have to pass something like foo:='{"bar": "baz"}' for representing a this json body

{
    "foo": {
        "bar": "baz"
    }
}
2 Likes

It’s one of the tools which I rely a lot on. For me it’s pretty much a better curl, as @albertored already said.

Especially for locally running services it’s great, because you can omit localhost:

http :3000/some/route
2 Likes

This looks really cool! I shared it with my team at work, where we mostly use Windows.

2 Likes