logo       

Re: Can't add event via ColdFusion: msg#00262

org.google.api.calendar

Subject: Re: Can't add event via ColdFusion


You need to send the event xml as raw post content. Try

<cfhttpparam type="XML" value="#myxml#">

instead of your formField line. Note you need a relatively new version
of cfhttp. If the above resets your content type to text/xml, then you
can try

<cfhttpparam type="Body" value="#myxml#">

Hope this helps. Remember that google does a 302 redirect. I'm not sure
how cf handles them. If you get authorization problems then cf is not
setting the headers on the redirected url.

Hope this helps, I have never used coldfusion :)
Philipp




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

News | FAQ | advertise