Hi everybody, Could someone give me the exact syntax for a calendar insert event OAuth2 POST request. I use this one :
POST https://www.googleapis.com/calendar/v3/calendars/myCalendar/events??access_token=myAccessToken with : ?body= '{"summary": "Test","start": {"timeZone": "Europe/Paris","dateTime": "2012-08-09T09:00:00"},"end": {"timeZone": "Europe/Paris","dateTime": "2012-08-09T10:00:00"}}' I have a 400 protocol error, and I am unable to find the right syntax. I think my mistake comes from my 'body' key or the simple or double quotes in value. I had a look at this to write it : http://code.google.com/p/google-api-python-client/issues/detail?id=86 where syntax is as : body='{"kind": "calendar#event", "end": {"timeZone": "GMT", "dateTime": "20120123T120839"}, "summary": "task1", "start": {"timeZone": "GMT", "dateTime": "20120123T110839"} }' I do not use python, I use scriptmaster plugin in filemaker, so I need the raw syntax which I am not able to find here https://developers.google.com/google-apps/calendar/v3/reference/events/insert. My access token is ok as this post request succeeds : POST https://www.googleapis.com/calendar/v3/calendars/chenot.olivier%40gmail.com/events/quickAdd?access_token=myAccessToken key = text, value = myEvent Thank you in advance Olivier -- You received this message because you are subscribed to the Google Groups "iGoogle Developer Forum" group. To view this discussion on the web visit https://groups.google.com/d/msg/Google-Gadgets-API/-/Y78gR96mjkwJ. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/Google-Gadgets-API?hl=en.
