I'm trying to make some Rest-API Calls to the Google Calendar API from my Application to show some Calendar Data and I'm slowly but surely a little in despair.
I've activated the API, created Credentials and downloaded the client-secret Json File. For testing I used Postman to send an example Request to the api like https://www.googleapis.com/calendar/v3/calendars/{calendar-ID}/acl
Because there was no Access Token to in the json file I used "Get new Access Token", entered all the Data from the json and got a Key. But if I use this Key for sending a Request with oAuth2 Authorization and that example API-Call i get a back a 401.
I played around with this for hours without any success. I'm not very experienced with this kind of Authorization and surely missing a point here.
Actually I just want to make some cUrls from my php-script to get some Calendar Data. Maybe someone could describe the steps that are nessecary to get this done.
thank you in advance. :)