M
M
maximusDreddoff2016-01-22 14:37:40
Google
maximusDreddoff, 2016-01-22 14:37:40

Is it possible to use a GET request when working with the Google Calendar API?

Is it possible to make a GET request to the google calendar api?

I form a GET request using AngularJS (it's just easier for me, although using the framework has no fundamental meaning for me). For me, the most important thing is the answer.

test.controller('TestCtrl', function ($scope, $http) {
    $scope.title="I WANT TO MAKE A REQUEST";
    $http.get('https://www.googleapis.com/calendar/v3/calendars/'{{calendarid}}'/events?key='{{apiKey}}').success(function(data){
        $scope.tests= data;
    });


Here are screenshots of the values ​​of the calendarid and apiKey

variables. Maybe I'm doing something wrong? I will be glad to any answer and advice.

PS Let me know if you need more details.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question