Request body

Report a typo

Write the code that will log the text content of the request:

post("/log") {
    val text = /* your code here */
    call.application.environment.log.info("Requet text: $text")
}
Enter a short text
___

Create a free account to access the full topic