httpie / cli

🥧 HTTPie CLI — modern, user-friendly command-line HTTP client for the API era. JSON support, colors, sessions, downloads, plugins & more.
https://httpie.io
BSD 3-Clause "New" or "Revised" License
33.88k stars 3.68k forks source link

Idea: create a separate curl2httpie tool #570

Closed brasilikum closed 5 months ago

brasilikum commented 7 years ago

My idea is simple: Create a tool (e.g. curl2httpie) which accepts all the commands curl also does. It tries to parse a curl command with all options

It could be symlinked to curl, so any time you copy paste a curl command into your terminal, you learn how you would have achieved the same command with httpie plus you get all the benefits in output and so on of actually running httpie.

What do you think? The reason I am asking here is to make sure I did not miss something like this if it already exists. I would enjoy implementing this, but only if it does not exist yet.

dcb9 commented 7 years ago

I have just implemented one, but the feature is very simple, stupid and incomplete. It's only convert curl command to httpie command.

$ curl2httpie curl -u user: github.com
http -a user: GET github.com

and there is a curl2httpie online app to do this.

welcome you to contributing!

Ousret commented 5 months ago

As it already does exists, I am closing this one.