Hi Jessica, Try <cfset xmlString = GetHTTPRequestData().content.toString("UTF-8")>
-- Pete Freitag http://foundeo.com/ - ColdFusion Consulting & Products http://petefreitag.com/ - My Blog http://hackmycf.com - Is your ColdFusion Server Secure? On Fri, Oct 23, 2009 at 9:36 PM, Jessica Kennedy <police_kidnapped_your_child...@yahoo.com> wrote: > > i'm programming a response handler for receiving xml data sent via a 'get' > request from a 3rd party api. I have tested my handler without problems > using sample xml, however, when the info is sent from the api, I get the > error: > > ByteArray objects cannot be converted to strings. > > here is the line causing the error: > > <cfset xmlstr = GetHTTPRequestData().content> > > How can I get the xml parsed without throwing this error? I'm sure it's > simple, but google has not been kind to me on this one! > > Thanks for the help! > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:327785 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4