3 ms·
While great, I stopped using it for httpie instead, it has a much simpler interface.
by wldcordeiro 11y ago
While great, I stopped using it for httpie instead, it has a much simpler interface.
- sudo_bang_bang 11y agoLikewise, I switched over. I just wish HTTPie could have an "output to curl" feature.
- dfc 11y agoI apologize if this is obvious but I do not understand why you wish httpie had an output to curl feature? Am I missing some sarcastic twist?
- trashcan 11y agoI think they meant that it would useful to have it provide a curl equivalent command, much like chrome has in the network section.
- lkey 11y agoI'd guess it has something to do with curl being available everywhere and httpie requiring installation. Oftentimes you can't enforce that your preferred alternative is deployed where you'd like to run scripts, so http->curl.
- sohkamyung 11y agoMaybe 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.