azure ad – Get AccessToken to GetList in Sharepoint

I used SharePoint 365 and I tried to get an item from the SharePoint list by the postman.

I am the steps in these links:

https://medium.com/@anoopt/accessing-sharepoint-data-using-postman-sharepoint-rest-api-76b70630bcbf

Access SharePoint Online using Postman

but did not work, I got an answer Access denied and sometimes 403 forbidden.

and i tried to register app & graph API in azure but i had the same result.

I want to clear the way to get the right access token.

and another question what can I put in Redirect URI? https: // localhost or my main link page

Thank you