Johan
06/20/2025, 6:04 AMpost("/foo") {
println("foo 1")
//... requests takes long time to send and times out
val receivedData = call.receiveText() // gets to read the body when the request timed out
println("Data received: $receivedData")
call.respond(HttpStatusCode.OK, "ok")
}
I get partial result from a json-string, which is not possible to deserialize. Which is a bit weirdJohan
06/20/2025, 6:04 AMAleksei Tirman [JB]
06/25/2025, 8:58 AMJohan
06/25/2025, 12:56 PMAleksei Tirman [JB]
06/25/2025, 3:00 PMData received:
from the route handler. Do you expect an exception to be thrown?Johan
06/25/2025, 3:50 PMAleksei Tirman [JB]
06/26/2025, 8:35 AMJohan
06/26/2025, 8:35 AM