When you use multipart file
you don’t set the Content-Type
, and it will default to multipart/form-data
. Which is most likely what you want – but no one will be able to tell without details about your server.
Work with someone from your server-side team if needed to resolve this. Or edit your question with a cURL command that works and maybe we can figure out what you are doing wrong.
Also search for other answers on Stack Overflow: https://stackoverflow.com/search?q=%5Bkarate%5D+multipart
Else please follow this process: https://github.com/intuit/karate/wiki/How-to-Submit-an-Issue