Request body

Report a typo

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

post("/log") {
    val text = /* your code here */
    println("Requet text: $text")
}
Enter a short text
___

Create a free account to access the full topic