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.18k stars 3.68k forks source link

[Feature] Define http request in a .http file #758

Open tonsV2 opened 5 years ago

tonsV2 commented 5 years ago

First of all, thanks for a great http client. I've recommended it to quite a few coworkers by now and a lot of appreciation has been returned!

Intellij has a build in http client which supports something called .http files.

https://blog.jetbrains.com/phpstorm/2017/09/editor-based-rest-client/

To sum up the above link you can define http request in a file and have them executed.

Being able to define a file with various http requests and have that file executed by httpie would be so awesome! This could be used for stress testing, integration testing or executed in a CI pipeline for various reasons and probably several other use cases.

Any comments?

GotoCode commented 4 years ago

I think something similar was suggested by @dsego in this comment on #537, so there might be quite a bit of popular demand for such a feature.

jkbrzt commented 4 years ago

@GotoCode it’s coming—stay tuned!

lisitsky commented 4 years ago

Awesome feature for autotests! Can I help somehow with it?

danslapman commented 3 years ago
stonecharioteer commented 3 years ago

Is this feature still on the roadmap?

jkbrzt commented 3 years ago

@stonecharioteer Yes, it is! No timeline yet, though.

ferenczy commented 3 years ago

I have proposed a solution for such a feature in this feature request, maybe you'll find some inspiration there.

tonsV2 commented 2 years ago

@jakubroztocil Are there any updates on this matter?

I've been needing this for quite a few years now and there might be people here, myself included, which would be willing to work on this.

vtronko commented 2 years ago

I guess, it's off the roadmap since Desktop app has more priority?

devsdmf commented 2 years ago

Do we have any expectations to prioritize this feature in the following weeks/months? I can help with the code if no one already started to work on that. Can I get a green light?

adriens commented 2 years ago

:heavy_plus_sign: :one: for this feature request :heavy_heart_exclamation:

afonsocarlos commented 1 year ago

I'm also really interested in that one

vzlobinsky commented 1 year ago

Do we have any news regarding this feature? I assume many people need it and will love it :)

adriens commented 1 year ago

Do we have any news regarding this feature? I assume many people need it and will love it :)

Yes, please make this happen :pray:

hbjydev commented 1 year ago

Bump on this @jakubroztocil

gijocode commented 1 year ago

+1 waiting for this

trodix commented 1 year ago

+1

zhangddjs commented 1 year ago

is this feature still developing? seems four years passed haha

adriens commented 1 year ago

Yes, please make it happen :pray: :pray: :heart_decoration:

SKairinos commented 1 year ago

Also waiting. It seems intuitive. Devs want to predefine requests and upload them them to their API's repo. Makes it ideal to collaborate

paul-uz commented 11 months ago

What are the alternatives to httpie that can run a .http file?

It's been 5 years, and it looks like this project is dead in the water?

macromania commented 11 months ago

IntelliJ released a tool to run .http files from terminal / command line: https://www.jetbrains.com/help/idea/http-client-cli.html

victoraugustolls commented 9 months ago

Any news here @jkbrzt??

matthewadams commented 6 months ago

Bonus for ability to add assertion capabilities so that entire test suites could be defined in .http files.

adriens commented 6 months ago

Bonus for ability to add assertion capabilities so that entire test suites could be defined in .http files.

Brilliant idea :star_struck: @matthewadams

Ben-Mack commented 6 months ago

This feature is much needed, hope to see it soon. My use case is to load all parameters from file and seem like no way to do it now unless this is implemented.

lucastamoios commented 5 months ago

I would love to see this feature.

HoldenLucas commented 5 months ago

https://www.usebruno.com/

aamehedi commented 4 months ago

@GotoCode Is this feature still on the road-map?

p10 commented 3 months ago

Would love to see it

hjannasch commented 2 months ago

Time is passing by, really love to see this released.

p10 commented 2 months ago

found another solution -> https://httpyac.github.io/