Unable to upload zip file through karate framework

前端 未结 1 1054
囚心锁ツ
囚心锁ツ 2021-01-16 07:01

I am trying to upload a zip file through karate framework using the stack overflow reference: put-requests-to-upload-a-file-in-form-data-using-karate and karate documents up

相关标签:
1条回答
  • 2021-01-16 07:25

    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.

    0 讨论(0)
提交回复
热议问题