Retrieve path

Report a typo

Write the code that will get the requested path:

get("/api/*/resource") {
    val path = /* your code here */
    call.respondText("Requested endpoint: $path")
}
Enter a short text
___

Create a free account to access the full topic