You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When url contains special characters like quotes it sends malformed request. I found solution to set variable by script and then use it with {{}}. Still would be good if I will be able to write requests with special characters, may be add option to escape speciall chars.
it works, it means that generally api is working when proper url is passed, problem is parser, may be tree sitter part, may be consumer of tree sitter. if I will have enough free time, may be I will look into it by myself
Repro (lazy.nvim)
No response
The text was updated successfully, but these errors were encountered:
This seems to be a treesitter parser issue.
I’ll fix it tonight and it can take 1~2 days until you can install latest version from nvim-treesitter or luarocks
Prerequisites
Neovim Version
0.10.1
Operating system/version
MacOS 14.6
Actual behavior
When url contains special characters like quotes it sends malformed request. I found solution to set variable by script and then use it with {{}}. Still would be good if I will be able to write requests with special characters, may be add option to escape speciall chars.
Expected behavior
URL working with special chars in it
Steps to reproduce
GET https://equipment-service.dest/sap/opu/odata/sap/API_EQUIPMENT/Equipment{{filter}}?$filter=Equipment eq '10000000'
it will not work
Other information
If used like this:
@lang lua
< {%
request.variables.set('filter', "?$filter=Equipment eq '10000000'")
%}
GET https://equipment-service.dest/sap/opu/odata/sap/API_EQUIPMENT/Equipment{{filter}}
it works, it means that generally api is working when proper url is passed, problem is parser, may be tree sitter part, may be consumer of tree sitter. if I will have enough free time, may be I will look into it by myself
Repro (
lazy.nvim
)No response
The text was updated successfully, but these errors were encountered: