Hi there, When I expose a route in Ktor under `ro...
# ktor
p
Hi there, When I expose a route in Ktor under
route(“test”)
. The server responds if I go to
<http://localhost/test>
however it does not respond on
<http://localhost/test/>
Are
test
and
test/
then considered two different resources? Is that a following some standard?
a
Yes, they are considered different routes. You can use the IgnoreTrailingSlash plugin to override this behavior.
p
Thanks!