Hello everyone,
I'm working with Ktor on an Android app and I want to upload a File (e.g. a photo) in a PUT call
Do you know how to do it ?
I see the :
submitFormWithBinaryData
but it seems to be a POST call
Thanks
a
Aleksei Tirman [JB]
01/08/2025, 9:59 AM
You can use the setBody method to send a request body, which can be a file's content. To make a PUT call, just replace the