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.56k stars 3.67k forks source link

cURL output of HTTPie #325

Open ryanmcdermott opened 9 years ago

ryanmcdermott commented 9 years ago

I've been a user of HTTPie for a brief bit of time and I haven't seen this feature anywhere, but it might be useful if HTTPie could generate a cURL output of a request. I'm not sure if every particular request could be done in cURL, but this option could be helpful for sharing translatable requests with others that don't have HTTPie.

jkbrzt commented 9 years ago

Yes, this would be a nice thing to have. There are a couple of tools that do something along those lines, but there's no httpie2curl as such at the moment.

dzimine commented 9 years ago

+1 for this. We love HTTPie but before the rest of the world speaks HTTPie we need to translate them to cURL. And my cURL is getting rustier the longer I use httpie.

sanrodari commented 8 years ago

+1

giodamelio commented 8 years ago

:+1:

rajadain commented 8 years ago

+1

darshan-craft commented 8 years ago

+1

tspike commented 8 years ago

Ooh, yes please!

Mgutjahr commented 8 years ago

+1

chillenious commented 7 years ago

+1

iannickb commented 7 years ago

+1

mattconzen commented 7 years ago

+1

akrikos commented 7 years ago

Pretty please?

cchacin commented 7 years ago

+1

Neonox31 commented 7 years ago

+1

daniel79 commented 7 years ago

+1

xmavrck commented 7 years ago

+1

chalasr commented 6 years ago

+1

epayet commented 6 years ago

+1

kalbasit commented 6 years ago

@here please stop adding +1 comments, please use the thumbs up vote on the first post.

naartjie commented 6 years ago

This curl command line builder might be useful to anyone looking for an interim solution: https://curlbuilder.com/

dcb9 commented 6 years ago

Hi guys, I've just created a toy which is able to convert command arguments between cURL and HTTPie :) btw thank @defaude that is who let me know there are some people need this feature.

jkbrzt commented 6 years ago

@dcb9 that looks great!

Links:

Screenshot:

screen shot 2018-04-16 at 11 43 43
naartjie commented 6 years ago

Thanks @dcb9, it's a cool and handy tool.

deronnax commented 4 years ago

what about merging it in httpie with a --curl option ?