samir
09/07/2018, 7:58 PMcall.receiveText()
but it is always empty. I am using version 0.9.4. I saw on the following post on stackoverflow that it was a known issue fixed in v0.9.2. Anyone knows if it is still an issue in the latest version ?
https://stackoverflow.com/questions/49895169/ktor-unable-to-receive-post-body-on-serverБежан Александр
09/07/2018, 8:03 PMsamir
09/07/2018, 8:17 PMsamir
09/07/2018, 8:35 PMsamir
09/07/2018, 10:02 PMinstall(HttpsRedirect) {
sslPort = 8443
}
Бежан Александр
09/08/2018, 10:40 AMsamir
09/08/2018, 6:52 PMget("/") {
call.respondText(call.receiveText(), contentType = ContentType.Text.Plain)
}
I get a response with a status code of 200 from the server but the body is empty and the logging on the server shows an empty body even though I sent a body in the request. If I change the request from get to post I get a redirection with a GET instead of POST. The logs of the two cases are below.samir
09/08/2018, 6:59 PMsamir
09/08/2018, 6:59 PMsamir
09/08/2018, 7:04 PM