mistweaverco / kulala.nvim

A minimal 🤏 HTTP-client 🐼 interface 🖥️ for Neovim ❤️.
https://kulala.mwco.app
MIT License
584 stars 27 forks source link

[Feature Request] Allow specifying host as a header #248

Open igorlfs opened 5 hours ago

igorlfs commented 5 hours ago

Hello!

rest.nvim has a nice feature: it's possible to specify the host as if it were a header. They call that "URL without Host". For instance:

GET /api
HOST: example.com

It'd be nice to have that in kulala as well.

Grueslayer commented 5 hours ago

@igorlfs I don‘t see any use case for this, please explain what advantage you see over putting the host directly to the request line or use variables like {host}/api and define @host somewhere.