I’ve executed a Project in the SonarQube to scan the code units and I got a beautiful report stating all the issues and I’m also able to download it from the UI.
Now, my need is to download the generated report via the web_api. So far, I’ve tried below end points.
GET api/scqsreport/downloadreport
GET api/scqsreport/report
Both of these URLs gives response in the html whereas I need a pdf/xls/zipped reports which the documentation also stats. Screenshots attached.
Any leads and resolution on this is much appreciated, Thanks in Advance.
Hi Ann, Thanks for your response.
Before reaching out to the community I tried exact the same way(reverse engineered) but that also gives an html code in response when tried to resolve the html code it takes me to the login page of Sonar WebSite. So, in short it didn’t work.
You’ve already tried using the browser console to see what commands the UI makes to get the data you want and replicating those commands outside the UI? You tried that and got HTML responses instead of JSON?