Forum Discussion

jvondam's avatar
jvondam
New Contributor
3 years ago

Curl command on Rest API giving HTTP 415 Unsupported Media Type

I'm trying use curl to send a custom format POST using the Rest API. I'm attempting to follow the documentation but am still getting the 415 response.   curl -H "Content-Type: application/json" -...
  • DavidL's avatar
    DavidL
    3 years ago

    Unfortunately, there is no endpoint supporting CSV. 

     

    You can use the API endpoint "POST /testexecutions" to update the status every time.

     

    Otherwise, we support Cucumber JSON result files through an endpoint similar to the Junit endpoint. 

     

    If I may, what is your pipeline setup?