Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cURL output of HTTPie #325

Open
ryanmcdermott opened this issue Mar 23, 2015 · 24 comments
Open

cURL output of HTTPie #325

ryanmcdermott opened this issue Mar 23, 2015 · 24 comments
Labels
enhancement New feature or enhancement needs product design We like the idea, but we want to explore the problem deeper, and consider the solution holistically

Comments

@ryanmcdermott
Copy link

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
Copy link
Member

jkbrzt commented Mar 25, 2015

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.

@jkbrzt jkbrzt added the enhancement New feature or enhancement label Mar 25, 2015
@dzimine
Copy link

dzimine commented Aug 27, 2015

+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
Copy link

+1

3 similar comments
@giodamelio
Copy link

👍

@rajadain
Copy link

rajadain commented Jan 4, 2016

+1

@darshan-craft
Copy link

+1

@tspike
Copy link

tspike commented Jan 12, 2016

Ooh, yes please!

@Mgutjahr
Copy link

+1

3 similar comments
@chillenious
Copy link

+1

@iannickb
Copy link

+1

@mattconzen
Copy link

+1

@akrikos
Copy link

akrikos commented May 12, 2017

Pretty please?

@cchacin
Copy link

cchacin commented Jun 8, 2017

+1

5 similar comments
@Neonox31
Copy link

+1

@daniel79
Copy link

daniel79 commented Aug 9, 2017

+1

@xmavrck
Copy link

xmavrck commented Aug 14, 2017

+1

@chalasr
Copy link

chalasr commented Oct 27, 2017

+1

@epayet
Copy link

epayet commented Nov 10, 2017

+1

@kalbasit
Copy link

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

@naartjie
Copy link

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

@dcb9
Copy link

dcb9 commented Apr 16, 2018

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
Copy link
Member

jkbrzt commented Apr 16, 2018

@dcb9 that looks great!

Links:

Screenshot:

screen shot 2018-04-16 at 11 43 43

@naartjie
Copy link

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

@deronnax
Copy link
Contributor

deronnax commented Nov 7, 2019

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

@Almad Almad added the needs product design We like the idea, but we want to explore the problem deeper, and consider the solution holistically label Feb 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or enhancement needs product design We like the idea, but we want to explore the problem deeper, and consider the solution holistically
Projects
None yet
Development

No branches or pull requests