Open nitaicharan opened 1 week ago
Thanks for the plugin. I created this issue because it's a missing functionality that would be amazing to have.
Another functionality that would make me stop using other REST clients is the ability to make requests in a chain. I would execute one request and then use the information (e.g., token, ID, etc.) from that request in subsequent requests without having to manually make each one individually. However, first, I need to save the request configuration and response before making another request. This is why I created this issue.
Hi @nitaicharan, thank you for your input! I have already started work on adding support for API collections using .http
files. I have taken some time off from working on hyper.nvim but I am looking to pick it back up.
Regarding proposed feature 3, the plugin already supports .env
files, and since .http
files are likely to be tracked in version control they are not a great place to store potentially sensitive information.
I like the idea of chaining requests and using the response of previous requests as input to subsequent ones. I will add this to the roadmap!
Description: The hyper.nvim plugin is an excellent tool for Neovim users, offering a variety of functionalities to enhance productivity. To further extend its capabilities, it would be beneficial to add support for reading HTTP requests directly from a
.http
file. This feature would allow users to manage and execute HTTP requests seamlessly within Neovim, improving their workflow, especially for developers working with APIs.Proposed Features:
Parsing
.http
Files:.http
files..http
file.Executing Requests:
Environment Variables:
.http
file to include environment variables.Documentation:
.http
file support..http
files with environment variable placeholders.Benefits:
References:
.http
file format and usage: REST Client .http and .rest filesExample: