I have a request with rest assured and want to Transfer it to ktor but no Solution worked. I hope somebody can help me.
MultiPartSpecification multiPartSpec = new MultiPartSpecBuilder(zipBytes(„fileinput.xml", bodyXmlAsString.getBytes()))
.controlName("file")
.fileName("myfile.zip")
.mimeType("application/zip")
.charset(StandardCharsets.UTF_8)
.build();
I don‘t know how to do this with ktor.