Closed Rasmus-Bertell closed 7 months ago
I have the same problem with:
GET http://localhost:8080/endpoint/positions?datainicio=2023-04-28T00:00:00&datafim=2024-05-01T23:59:59&manifesto=3&placa=DPC-4026
Using TSPlaygroundToggle
shows:
request [0, 0] - [2, 0]
method [0, 0] - [0, 3]
target_url [0, 4] - [0, 135]
scheme [0, 4] - [0, 8]
host [0, 11] - [0, 25]
identifier [0, 11] - [0, 20]
port [0, 20] - [0, 25]
path [0, 25] - [0, 49]
identifier [0, 26] - [0, 40]
identifier [0, 41] - [0, 49]
query_param [0, 50] - [0, 74]
key: key [0, 50] - [0, 60]
value: value [0, 61] - [0, 74]
ERROR [0, 74] - [0, 80]
query_param [0, 80] - [0, 102]
key: key [0, 81] - [0, 88]
value: value [0, 89] - [0, 102]
ERROR [0, 102] - [0, 108]
query_param [0, 108] - [0, 120]
key: key [0, 109] - [0, 118]
value: value [0, 119] - [0, 120]
query_param [0, 120] - [0, 135]
key: key [0, 121] - [0, 126]
value: value [0, 127] - [0, 135]
header [1, 0] - [2, 0]
name: name [1, 0] - [1, 5]
value: value [1, 6] - [2, 0]
The ERROR
is defined in :00:00
and :59:59
Using this config does not solve
require("rest-nvim").setup({
encode_url = true,
})
Any workarounds?
There seems to be some sort of problem handling arrays in url parameters
request.http
log