it just seems to ignore it
# ktor
b
it just seems to ignore it
meaning i expect it to return Unauthorized in the test but it doesn't. whereas when i dont use the locations api it works
k
This is basically what I was trying to get at with my last post - it seems like a bad idea to have 2 different ways to do routing...
b
i always thought the locations api is just some annotation sugar + json mapping over the normal routing
k
oh, maybe - I haven't looked that closely at the code. as a newcomer to ktor, it does seem a bit confusing though, having 2 separate services to do basically the same thing.
b
and it can totally be that my example is wrong and it does actually work 😉
k
please post if you find out either way.