I am working on PoC using Ktor version 1.3.2 and h...
# ktor
j
I am working on PoC using Ktor version 1.3.2 and have written simple POST API where I send 2 string params and return the same 2 strings. BUT, I am getting this error while using POST API
kotlinx/coroutines/io/ByteReadChannel
Any Idea what mistake am I doing?.
Copy code
HTTP/1.1 500 Internal Server Error
Date: Sun, 26 Apr 2020 14:30:36 GMT
Content-Length: 37
Connection: keep-alive
Content-Type: text/plain; charset=UTF-8
Server: ktor-server-core/1.3.2 ktor-server-core/1.3.2
f
Feels like some exception that might be visible while debugging the service. Any exceptions?
j
I read some past messages over here for same error and I followed same resolution where it gets resolved once we replace moshi with gson lib. Thanks for checking @foxx1337