Closed blankser closed 3 months ago
Hi @blankser you can't do that as Krakend relies internally on httprouter : a path param starts with : and ends with a / https://github.com/julienschmidt/httprouter/blob/master/tree.go#L43. Best regards
ok thanks for letting me know
Environment info:
Describe the bug Path variable isn't propagated to backend properly if not enclosed by
/
. Its send as{{.A}}
whena
is the variable name. It should send the actual variable value that is captured from the url.Your configuration file:
Commands used
Expected behavior when calling
curl http://localhost:8080/test/Xtest/Y
I get in the log:I expect:
Logs see above
Additional context adding
"disable_rest": true,
to the config doesn't make a difference.