Skip to content

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

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

Open
tonsV2 opened this issue Mar 1, 2019 · 32 comments
Open

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

tonsV2 opened this issue Mar 1, 2019 · 32 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

@tonsV2
Copy link

tonsV2 commented Mar 1, 2019

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 tonsV2 changed the title Define http request in a .http file [Feature] Define http request in a .http file Mar 1, 2019
@GotoCode
Copy link
Contributor

GotoCode commented Jul 16, 2020

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 jkbrzt added the enhancement New feature or enhancement label Jul 16, 2020
@jkbrzt
Copy link
Member

jkbrzt commented Jul 16, 2020

@GotoCode it’s coming—stay tuned!

@lisitsky
Copy link

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

@danslapman
Copy link

@stonecharioteer
Copy link

Is this feature still on the roadmap?

@jkbrzt
Copy link
Member

jkbrzt commented Feb 15, 2021

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

@ferenczy
Copy link

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

@tonsV2
Copy link
Author

tonsV2 commented Nov 25, 2021

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

@jkbrzt jkbrzt added the needs product design We like the idea, but we want to explore the problem deeper, and consider the solution holistically label Nov 26, 2021
@vtronko
Copy link

vtronko commented Apr 17, 2022

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

@devsdmf
Copy link

devsdmf commented May 26, 2022

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

adriens commented May 26, 2022

➕ 1️⃣ for this feature request ❣️

@afonsocarlos
Copy link

I'm also really interested in that one

@vzlobinsky
Copy link

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

@adriens
Copy link

adriens commented Sep 9, 2022

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

Yes, please make this happen 🙏

@hbjydev
Copy link

hbjydev commented Mar 6, 2023

Bump on this @jakubroztocil

@gijocode
Copy link

+1 waiting for this

@trodix
Copy link

trodix commented May 1, 2023

+1

@zhangddjs
Copy link

is this feature still developing? seems four years passed haha

@adriens
Copy link

adriens commented May 22, 2023

Yes, please make it happen 🙏 🙏 💟

@SKairinos
Copy link

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

paul-uz commented Sep 6, 2023

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

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

@victoraugustolls
Copy link

Any news here @jkbrzt??

@matthewadams
Copy link

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

@adriens
Copy link

adriens commented Jan 30, 2024

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

Brilliant idea 🤩 @matthewadams

@Ben-Mack
Copy link

Ben-Mack commented Feb 6, 2024

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

I would love to see this feature.

@HoldenLucas
Copy link

@aamehedi
Copy link

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

@p10
Copy link

p10 commented Apr 27, 2024

Would love to see it

@hjannasch
Copy link

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

@p10
Copy link

p10 commented May 27, 2024

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

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