logo       

Re: add an entry with javascript: msg#00207

org.google.api.calendar

Subject: Re: add an entry with javascript


Please read http://code.google.com/apis/accounts/AuthForWebApps.html ,
especially the section "Working with AuthSub". Then try something like
this:

var xmlHttp = new XMLHttpRequest();

xmlHttp.open('POST',http://www.google.com/calendar/feeds/default/private/full',true);
xmlHttp.setRequestHeader("Content-Type","application/atom+xml");
xmlHttp.setRequestHeader("Authorization","AuthSub token=\"" + token +
"\");
xmlHttp.send(xmlEntry);

Philipp




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise