Hi guys, I have a kotlin multiplatform project tha...
# ktor
j
Hi guys, I have a kotlin multiplatform project that is used as a module in iOS app and Android app to act as Data Repository. I am trying to implement a method to upload files in this KMP Module that can be accessed from iOS app code and Android App Code. Is there any documented way or some blog posts that help this scenario?
e
same as any other HTTP request, just set your
HttpRequestBuilder.body
to
ByteArrayContent(bytes, ContentType.parse(contentType))