I previously used Microsoft.graph package to work with Graph API. Used client credentials to authenticate as an application and able to get site details and others also with below code snippet.
GraphServiceClient graphClient = new GraphServiceClient( authProvider );
var delta = await graphClient.Sites.Request
I want to get the same data by making the Http request and get response from it.
https://graph.microsoft.com/v1.0/sites
I have to call the above request to get the site details , How to get Auth token and get response from it?