I have a request with rest assured and want to Tra...
# ktor
p
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.
t
Is it related to KTOR-1915?
p
For the JS ok. Are there also problems with Java?
t
No. I use fetch on client side and Ktor on server. Do you need server example?
p
I would need a client side example.
t
Upload.kt
p
Thank you. It is working now.
😉 1