Hi all,
I'm doing a JavaFX calendar (without API) and I try to update my
events, but I always receive an 400 code status from Google.
I use ClientLogin authentication to connect to my Google Calendar
account.
I well log to obtain a token and retrieve my events, but impossible to
update them.
I think I took wrong, or I do forget a step:
-> I create a string in which I put all the event xml code I get
before, by modifying some infos.
-> I do a POST request with theses headers:
setHeader("Content-Type", "application/atom+xml");
setHeader("Authorization", "GoogleLogin auth=
{connectionToken}");
setHeader("If-Match", "*");
-> I put the xml string into the content of my request
-> I send the request to the location I get from the "edit" rel link
Is someone can help me?
PS: Sorry for my English, I'm French.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Calendar Data API" group.
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-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---