Hi,

I'm using <CFHTTP> to post a xml request to a USPS testing server, which runs a 
compiled
program to return some XML as a response. I'd like to take the response and
convert part of it into a CF variable that I can then do things with in CF.

The request I'm running through CF looks like this:

<CFHTTP method="POST" url="http://testing.shippingapis.com/ShippingAPITest.dll"; 
resolveurl="yes">
<CFHTTPPARAM name="API"  type="FORMFIELD" value="Rate">
<CFHTTPPARAM name="xml"  type="FORMFIELD" value="#XMLRequest#">
</CFHTTP>

When I try to display the result using <CFOUTPUT> and #cfhttp.FileContent#,
I get the following error:

The requested file is not ASCII text and can not be rendered.

Additionally, when I check the statuscode on the request, I get the
following:
200 Success

mime type:
Unable to determine MIME type of file

Does anyone have any ideas on how to solve this problem? If I could just get
CF to ingest the response information, I can move on to trying to parse it
using regular expressions.

Thanks for any and all suggestions!

Jagan
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.
http://www.cfhosting.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to