If you like the interface of HTTPie but miss the features of curl, curl-httpie is what you are searching for. Curl-httpie is a drop-in replacement for httpie that use curl to perform operations. All curl options exposed with most syntax sugar and output formatting provided by httpie.
Using homebrew:
brew install rs/tap/curl-httpie
Hello World:
$ http httpie.org
Synopsis:
$ http [curl options] [METHOD] URL [ITEM [ITEM]]
See HTTPie doc for more examples.
- Like
curlbut unlikehttpie, headers are written onstderrinstead ofstdout. - Output is not buffered, all the formatting is done on the fly so you can easily debug streamed data.