Calendar API JS client "WATCH"

24 views
Skip to first unread message

Test Test

unread,
Oct 6, 2015, 11:38:41 AM10/6/15
to Google API JavaScript Client
Hi,
is there a way to receive the PUSH from Gcal
through the same HTTP connection
used to POST the request :
POST https://www.googleapis.com/calendar/v3/calendars/calendarId/events/watch

In other words :
1 - "watch" needs a webhook HTTPS server for listening to the Gcal pushes
2 - "watch" can use the sustained POST connection to receive the pushed responses
3 - "watch" doesn't work and we have to make GET polling with :
GET https://www.googleapis.com/calendar/v3/calendars/calendarId/events/eventId

In other words :
how to get notification of events change
using a single browser ?
Reply all
Reply to author
Forward
0 new messages