when I do this it seems to work `call.respondText...
# ktor
w
when I do this it seems to work
call.respondText(json.toJsonString(), ContentType.Application.Json, HttpStatusCode.OK)
n
Short answer:
ContentNegotiation
determines serializer using by
Accept
header. It means, you need request with
Accept: application/json
header
w
wow thx
n
No problem. I had stuck here too