Thanks for testing! I now have something to talk USPS about knowing the code 
works fine.

> I replaced USERID and PASSWORD with mine, your code worked fine.
> Here is what I got in the cfhttp.FileContent
> 
> <?xml version="1.0"?> <RateResponse><Package 
ID="0"><Service>Express</Service><ZipOrigination>20770</ZipOrigination><ZipDestination>20852</ZipDestination><Pounds>10</Pounds><Ounces>0</Ounces><C>
 ontainer>None</Container><Size>REGULAR</Size><Zone>1</Zone><Postage>33.
> 65</Postage></Package></RateResponse> 
> 
> 
> ============ code used to test ====
> 
> <cfsavecontent variable="requestXML"> 
   
> http://testing.shippingapis.com/ShippingAPITest.
> dll?API=Rate&XML=<RateRequest USERID="xxx" PASSWORD="xx"><Package 
ID="0"><Service>Express</Service><ZipOrigination>20770</ZipOrigination><ZipDestination>20852</ZipDestination><Pounds>10</Pounds><Ounces>0</Ounces><Container>None</Container>>
 <Size>Regular</Size><Machinable></Machinable></Package></RateRequest>
> </cfsavecontent> 
>       
> 
> <cfdump var="#tostring(requestXML)#">
> 
> <cfhttp method="get" url="#requestXML#" resolveurl="false" 
> timeout="20">
> </cfhttp>
> 
 
> 
> <cfdump var="#cfhttp#">
> <cfdump var="#tostring(cfhttp.FileContent)#">
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:218088
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to