Update Event with Google Calendar API Javascript -


how can update calendar events of google calendar api (v3) in javascript? can not find example. list, delete , add working fine me still not update function working.

i tried example

//this event data got, changed values, want changed in calendar api var changedeventdata;  //changing data of calendar event $.ajax({   url: "https://www.googleapis.com/calendar/v3/calendars/" + calendarid + "/events/" + eventid,   method: "put",   data: changedeventdata }); 

from question:

how update event in google calendar using javascript?

but server responses 403 exception

thanks in advance

as discussed in events: update, updating of calendar events can done sending http request following format:

put https://www.googleapis.com/calendar/v3/calendars/calendarid/events/eventid 

please note requires authorization added scope of access.

for encountered 403 exception , other possible errors, suggested actions given in handle api errors.


Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -