rest.nvim icon indicating copy to clipboard operation
rest.nvim copied to clipboard

How to escape curly bracket?

Open dakennguyen opened this issue 1 year ago • 0 comments

Hi, I want to send a request like this

POST http://localhost:8000/api/v1/messages
Content-Type: application/json

{
    "template": "{{#user~}}I want a response to the following query:{{query}}{{~/user}}"
}

I got this error Environment variable '#user~' was not found. In Insomnia I can put raw string with this

"{% raw %}{{#user~}}I want a response to the following query:{{query}}{{~/user}}{% endraw %}"

How to achieve the same result with rest.nvim?

dakennguyen avatar Jun 16 '23 15:06 dakennguyen