Richard Ulysse
08/15/2023, 1:30 AM{
"type": "about:blank",
"title": "Unsupported Media Type",
"status": 415,
"detail": "Content-Type 'application/octet-stream' is not supported.",
"instance": "/asset-management/"
}
I would love to get help if possible! Thank youAleksei Tirman [JB]
08/16/2023, 6:13 AMPaul Meshkovsky
09/13/2023, 12:22 AMInputProvider(file.length()) { file.inputStream().asInput() }
as per post we expect that this will send data in Chunks and not as whole
https://stackoverflow.com/questions/69830965/ktor-client-post-multipart-form-data
As per post above shows how to do this on JVMAleksei Tirman [JB]
09/13/2023, 5:32 AMPaul Meshkovsky
09/13/2023, 6:26 PMPaul Meshkovsky
09/13/2023, 6:27 PM