Sure, thanks for responding.
Here's what's being sent:
<?xml version='1.0'?>
<entry xmlns='http://www.w3.org/2005/Atom'
xmlns:gd='http://schemas.google.com/g/2005'
xmlns:gCal='http://schemas.google.com/gCal/2005'>
<title type='text'>Test Calendar 3</title>
<summary type='text'>Calendar Description</summary>
<gCal:timezone
value='America/Los_Angeles'></gCal:timezone>
<gCal:hidden value='false'></gCal:hidden>
<gCal:color value='#2952A3'></gCal:color>
<gCal:accesslevel value='owner'/>
</entry>
>From this, you can see the URL and what's being passed in the headers:
<cfhttp url="http://www.google.com/calendar/feeds/default/
owncalendars/full" method="post" redirect=true>
<cfhttpparam type="header"
name="Authorization"
value="GoogleLogin auth=#test.auth#">
<cfhttpparam type="header" name="Content-
Type" value="application/
atom+xml">
<cfhttpparam type="body"
value="#trim(calendarXML)#">
</cfhttp>
This is an outline of the response:
Charset UTF-8
ErrorDetail [empty string]
Filecontent <?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://
www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/
opensearchrss/1.0/' xmlns:gCal='http://schemas.google.com/gCal/2005'
xmlns:gd='http://schemas.google.com/g/2005'><id>http://www.google.com/
calendar/feeds/default/owncalendars/full</
id><updated>2008-10-21T15:29:29.099Z</updated> ........ etc (Clipped)
Header HTTP/1.1 200 OK Content-Type: application/atom+xml;
charset=UTF-8 Connection: Close Date: Tue, 21 Oct 2008 15:29:30 GMT
Last-Modified: Tue, 21 Oct 2008 15:29:29 GMT Cache-Control: max-age=0,
must-revalidate, private Server: GFE/1.3 GData-Version: 1.0
Mimetype application/atom+xml
Responseheader
struct
Cache-Control max-age=0, must-revalidate, private
Connection Close
Content-Type application/atom+xml; charset=UTF-8
Date Tue, 21 Oct 2008 15:29:30 GMT
Explanation OK
GData-Version 1.0
Http_Version HTTP/1.1
Last-Modified Tue, 21 Oct 2008 15:29:29 GMT
Server GFE/1.3
Status_Code 200
Statuscode 200 OK
Text YES
As outlined above, I would expect a 201 created status as opposed to
the 200 OK status, and the calendar is not being created.
Thanks,
Clif
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---