https://kotlinlang.org logo
#ktor
Title
# ktor
u

包子such fun

08/31/2022, 12:10 PM
Hi, all. I'm a new user of ktor client. And I found the Blob() class in Js can't be recognized by ktor Js and throw "unserializeable exception". The official documentation of ktor didn't mentions how to send binary data request in Js. Can anyone give me some advise? Thank you for your attention.
a

Aleksei Tirman [JB]

08/31/2022, 12:39 PM
You can use
ByteArray
as a request body.
3 Views