Write the code that will get the requested path:
get("/api/*/resource") {
val path = /* your code here */
call.respondText("Requested endpoint: $path")
}Write the code that will get the requested path:
get("/api/*/resource") {
val path = /* your code here */
call.respondText("Requested endpoint: $path")
}Create a free account to access the full topic