Hi,

  I try to add a new entry to an existing calendar.  I get an
authentication token (the same way I get it to read the
calendar, which works) and send an entry to the following URI
with the following headers:

    method: POST
    URI: https://www.google.com/calendar/feeds/default/private/full

    GData-Version: 2
    Authorization: GoogleLogin auth=[182 chars...]
    Content-Type: application/atom+xml

  But I get the error "401 Authorization required"

  For info, the entry is:

    <atom:entry xmlns:atom="http://www.w3.org/2005/Atom";
                xmlns:gd="http://schemas.google.com/g/2005";>
       <atom:category scheme="http://schemas.google.com/g/2005#kind";
                      term="http://schemas.google.com/g/2005#event"/>
       <atom:title type="text">Bla bla</atom:title>
       <atom:content type="text">Bla bla ...</atom:content>
       <gd:transparency value="http://schemas.google.com/g/
2005#event.opaque"/>
       <gd:eventStatus value="http://schemas.google.com/g/
2005#event.confirmed"/>
       <gd:where valueString="somewhere"/>
       <gd:when startTime="2009-02-10T10:45:00.000Z"
                endTime="2009-02-10T11:00:00.000Z"/>
    </atom:entry>

  What is really weird is that I use the exact same request to
get this auth token than when I get the calendar content, and I
do not have any authentication problem (if I provide wrong
credentials or no authentication when getting calendar content,
I get an error too, that's normal.)

  Any idea?

  Regards,

--
Florent Georges
http://www.fgeorges.org/

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to