I am in the process of migrating a Testrail client to Testrail 3. I am following the migration guide and attempting to use JSON to send the requests. However, I am running into errors when using the add_run API method.
I am running this in RESTclient to debug.
The request I send is
(I have a project with id 1)
As request headers I am using
Content-Type: application/json and
Authorization: Basic USERNAME:PASSWORD_BASE64
request body is:
Upon sending the request, I receive a “400 Bad Request” Response with the error message:
Since I am in fact using
Content-Type: application/json as a request header I have no idea why I am getting this error or what it means. Any ideas?