I am trying to retrieve the project analyses information from a sonarqube project but i’m not sure how i can use the API with postman. The output i get is not the same as the response example given in the docs, but instead it is the html page of the sonarqube home page. Please let me know how to fix this. Please find the below attached image to see what i am trying.
It looks like you’re calling our marketing website (https://www.sonarqube.com/) instead of the actual URL of your SonarQube instance (the one you use when you access SonarQube).
Thank you for your response. Since I am fairly new to working with APIs, could you let me know how I should go about working with sonarqube APIs on the browser? For Example, trying the project_analyses/search api on any of the following project?
The single responsibility of the SonarQube UI is to make calls to the Web API and display the data. For example: if you browse to the Activity tab of any project, you are viewing the results of GET api/project_analyses/search.
Thank you so much for your help! My browser dev tools did help out and I can now progress with my project. I will learn more about this using my browser and will move to Postman later on.