I have noticed that my Add Google Calendar function does not work anymore.
My Add Event, Delete, and Update still work however. I get a 500 Internal
Server Error when attempting to create the calendar. Here is my code:
<cfhttp url="
https://www.google.com/calendar/feeds/default/owncalendars/full" method=
"post" result="result" redirect="false">
<cfhttpparam type="header" name="Content-Type" value=
"application/atom+xml">
<cfhttpparam type="header" name="Authorization" value="GoogleLogin
auth=#variables.authcode#">
<cfhttpparam type="body" value="#myxml#">
</cfhttp>
<cfif result.responseheader.status_code is "302">
<cfset loc = result.responseheader.location>
<cfhttp url="#loc#" method="post" result="result" redirect=
"false">
<cfhttpparam type="header" name="Content-Type" value=
"application/atom+xml">
<cfhttpparam type="header" name="Authorization"
value="GoogleLogin
auth=#variables.authcode#">
<cfhttpparam type="body" value="#myxml#">
</cfhttp>
</cfif>
It redirects on the first call and then hits the second
call<https://www.google.com/calendar/feeds/default/owncalendars/full>
. Then on the second call I get a 500 internal error. Any help would be
appreciated.
--
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://code.google.com/apis/calendar/community/forum.html