I am currently trying to upload a JUnit xml document via the
https://api.zephyrscale.smartbear.com/v2/automations/executions/junit
endpoint and get back a 415 for Unsupported Media Type.
I am making the post request with the requests module using Python 3.8. I have tried passing the binary file contents in with the files argument or as part of the body, but both are returning the same error. I have tried both zip and xml files and have the content type set to application/json.
The documentation shows what the response looks like, but an example of the request would be greatly appreciated.