After developping an addon that allows us to re-run failed tests.For this reason : we have used testProject API to GET the report and check it and then modify the resource (which is our test) with a POST endPoint (to run the test).
Locally (in My IDE) everything works fine and the test is re-Runned, but after integrating the addon in testProject i have a 412 HTTP error after the axecution of the POST request. (the GET requst and the code works fine in testProject, after printing some variable values).
I suppose that there is a parameter in my header that shoudl be added to avoid this 412 HTTP error, Can you PLEASE help us to add the right parameter to the header of POST Request?
Thanks for your help !