cli icon indicating copy to clipboard operation
cli copied to clipboard

[Feature] Define http request in a .http file

Open tonsV2 opened this issue 5 years ago • 32 comments

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?

tonsV2 avatar Mar 01 '19 16:03 tonsV2

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.

GotoCode avatar Jul 16 '20 14:07 GotoCode

@GotoCode it’s coming—stay tuned!

jkbrzt avatar Jul 16 '20 22:07 jkbrzt

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

lisitsky avatar Jul 22 '20 07:07 lisitsky

  • https://github.com/Huachao/vscode-restclient - visual studio code have a similiar (but not 100% compatible with IDEA) *.http files support

danslapman avatar Oct 26 '20 08:10 danslapman

Is this feature still on the roadmap?

stonecharioteer avatar Feb 15 '21 11:02 stonecharioteer

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

jkbrzt avatar Feb 15 '21 11:02 jkbrzt

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

ferenczy avatar Apr 27 '21 01:04 ferenczy

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

tonsV2 avatar Nov 25 '21 15:11 tonsV2

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

vtronko avatar Apr 17 '22 10:04 vtronko

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?

devsdmf avatar May 26 '22 19:05 devsdmf

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

adriens avatar May 26 '22 22:05 adriens

I'm also really interested in that one

afonsocarlos avatar Sep 05 '22 21:09 afonsocarlos

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

vzlobinsky avatar Sep 09 '22 08:09 vzlobinsky

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

Yes, please make this happen :pray:

adriens avatar Sep 09 '22 22:09 adriens

Bump on this @jakubroztocil

hbjydev avatar Mar 06 '23 13:03 hbjydev

+1 waiting for this

gijocode avatar Apr 23 '23 17:04 gijocode

+1

trodix avatar May 01 '23 10:05 trodix

is this feature still developing? seems four years passed haha

zhangddjs avatar May 22 '23 14:05 zhangddjs

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

adriens avatar May 22 '23 21:05 adriens

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

SKairinos avatar Aug 07 '23 12:08 SKairinos

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?

paul-uz avatar Sep 06 '23 20:09 paul-uz

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

macromania avatar Sep 07 '23 10:09 macromania

Any news here @jkbrzt??

victoraugustolls avatar Nov 23 '23 00:11 victoraugustolls

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

matthewadams avatar Jan 30 '24 14:01 matthewadams

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

Brilliant idea :star_struck: @matthewadams

adriens avatar Jan 30 '24 20:01 adriens

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.

Ben-Mack avatar Feb 06 '24 15:02 Ben-Mack

I would love to see this feature.

lucastamoios avatar Mar 15 '24 11:03 lucastamoios

https://www.usebruno.com/

HoldenLucas avatar Mar 18 '24 16:03 HoldenLucas