Or do I really have to use the `JsonFeature` for t...
# ktor
d
Or do I really have to use the
JsonFeature
for this?
e
Hi @dave08 🙂 You could use
ByteArrayContent
with string content and place
ContentType
there.
d
I tried:
body = ByteArrayContent(jsonString.toByteArray())
, but I still got the same error...
Oh, nvm... I just put the content type in the ByteArrayContent params...
Thanks! That works 😁.
👍 1