How to upload CSV file as a post request in Karate 0.9.0 version?
问题 I am using Karate 0.9.0 version and I want to upload data using csv file. As per new update, it is converting data into JSON. But my API supports csv file format for upload function. How can I upload csv file in post request without converting data into json? Example Given path 'xxx/upload' And header Authorization = xxx And header Content-Type = 'text/csv' And request read('classpath:xxx.csv') When method POST Then status 202 P.S. This example was working in Karate version: 0.9.0.RC5 回答1: