Sending a file in the body of a POST request in Karate
I am having some difficulties getting a request to work as expected in Karate where I use a .json file in the body of my POST request. I have tried to define it as both a form field and as a multipart file. I assume I’m not doing this correctly because neither of them are getting me the same result as my CURL command. I removed a few of the secret variables, they for sure work in context of the CURL command from Postman.
Sending a file in the body of a POST request in Karate
I am having some difficulties getting a request to work as expected in Karate where I use a .json file in the body of my POST request. I have tried to define it as both a form field and as a multipart file. I assume I’m not doing this correctly because neither of them are getting me the same result as my CURL command. I removed a few of the secret variables, they for sure work in context of the CURL command from Postman.