3 ms·
Maybe I'm wrong, but httpie appears to be targetting http transactions only, while curl supports multiple protocols (ftp, etc.). curl's syntax is also baked in
by sohkamyung 11y ago
Maybe I'm wrong, but httpie appears to be targetting http transactions only, while curl supports multiple protocols (ftp, etc.).
curl's syntax is also baked into various Web Browser network debuggers. Both Chrome and Firefox's network transactions display have a "output to curl" option to allow you to recreate the network transaction exactly.
Edit: on Firefox, the option is "Copy as curl"
- wldcordeiro 11y agoThat is true, curl has some additional protocol features and then of course it being a standard part of most *nix OSes makes it easy to understand why Chrome and Firefox both have the copy as curl option. I still use curl regularly but for any pure http(s) stuff I use httpie because of its improved user experience.