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

Dirk

02/08/2023, 10:47 AM
Hi I have a beginner Ktor client js question. How can I convert a file accordingly to be able to upload it via multipart. The JS fetch method (image 1) works. How can I achieve the counterpart with Ktor (image 2). The call function is just a wrapper to catch errors.
image.png
image.png
3 Views