Run the following curl command to send a test report (report.xml) to DTP:
Code Block language powershell curl -k --user admin:admin -F file=@C:\Working\CAM\Calculator\Reports\report.xml https://localhost:8082/api/v2/dataCollector
The file path is hard coded here for curl. In the console output, you should see that the report was successfully uploaded to DTP.
Run the following curl command to send the coverage report (reportcoverage.xml) to DTP.
Code Block language powershell curl -k --user admin:admin -F file=@C:\Working\CAM\Calculator\Reports\coverage.xml https://localhost:8082/api/v2/dataCollector
- The file path is hard coded here for curl. In the console output, you should see that the report was successfully uploaded to DTP.
...