Nice work! This is the restclient I'm looking for a long time.
Here is a common case when I test restful api in day to day work.
Define a env named {{base_url}} in both production and local modes. So I could switch to local to test the code in local server, and switch to prod after deployment.
The {{base_url}} may looks like this.
In production mode, base_url is http://xyz.abc/api/v1.0/something, and in local mode base_url is http://localhost:8080.
If rest.nvim could support this, I could replace my rest client for good.
Nice work! This is the restclient I'm looking for a long time.
Here is a common case when I test restful api in day to day work.
Define a env named {{base_url}} in both
productionandlocalmodes. So I could switch tolocalto test the code in local server, and switch toprodafter deployment.The {{base_url}} may looks like this.
In
productionmode, base_url ishttp://xyz.abc/api/v1.0/something, and inlocalmode base_url ishttp://localhost:8080.If rest.nvim could support this, I could replace my rest client for good.