Hello, I have tried to use Sonarcloud API in my Python script (API url: https://sonarcloud.io/web_api/api/authentication?deprecated=false), but it doesn’t seem to work. The endpoints return only HTTP and not JSON as I would expect. Should I do something differently or the API just doesn’t work?
Hi,
Welcome to the community!
Web API calls use the HTTP
protocol to return data in JSON format.
It’s not clear to me what you expected to receive from the API call you posted here.
The best way to master the API is to perform the desired action via the UI and eavesdrop to see which calls the UI made to accomplish the action.
You may also find this guide helpful.
HTH,
Ann