Httpie: cURL output of HTTPie

Created on 23 Mar 2015  ·  24Comments  ·  Source: httpie/httpie

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.

feature

Most helpful comment

@dcb9 that looks great!

Links:

Screenshot:

screen shot 2018-04-16 at 11 43 43

All 24 comments

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.

+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.

+1

:+1:

+1

+1

Ooh, yes please!

+1

+1

+1

+1

Pretty please?

+1

+1

+1

+1

+1

+1

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

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

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.

@dcb9 that looks great!

Links:

Screenshot:

screen shot 2018-04-16 at 11 43 43

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

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

chuma picture chuma  ·  3Comments

loretoparisi picture loretoparisi  ·  6Comments

tonsV2 picture tonsV2  ·  4Comments

rshurts picture rshurts  ·  5Comments

Abdallah-Obaid picture Abdallah-Obaid  ·  4Comments