rest-nvim / rest.nvim

A fast Neovim http client written in Lua
GNU General Public License v3.0
1.61k stars 142 forks source link

Two env values inside quotes doesn't work #319

Closed cyaconi closed 2 months ago

cyaconi commented 8 months ago

With this http:

POST {{host}}/api/v1/session
Content-Type: application/json

{
  "user_ids":"{{USERKEY}}:{{ACCOUNTKEY}}"
}

I'm receiving the following error:

[rest.nvim] WARN: The variable 'USERKEY:ACCOUNTKEY' was not found in the document or in the environment. Returning the string as received ...

What would be the proper way to do it? It worked well in v1, btw

boltlessengineer commented 2 months ago

This should now fixed from v3 release.