I kinda doubt it... since get is a url post... theoretically you can only
post up to 255 characters in a get request... Have you tried post?  Have you
tried actually sending your xml in through a cfhttpparam?



-----Original Message-----
From: Stan Winchester [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 12, 2005 8:38 PM
To: CF-Talk
Subject: Re: USPS test 400 Bad Request

I thought so too, but they only accept "get". 

>Maybe they don't' accept get requests?  I'm assuming you need to use
>method="Post" and post the xml there... 
>
>-----Original Message-----
>From: Stan Winchester [mailto:[EMAIL PROTECTED] 
>Sent: Monday, September 12, 2005 8:28 PM
>To: CF-Talk
>Subject: USPS test 400 Bad Request
>
>Any ideas why when I do a test to the USPS test server I get a "400 Bad
>Request"?
>
>I have taken the sample code and cut and pasted it, then sent is via cfhttp
>as shown below:
>
><cfsavecontent variable="USPSRequest"><RateV2Request USERID="xxxxx"
>PASSWORD="xxxxx"><Package
>ID="0"><Service>PRIORITY</Service><ZipOrigination>10022</ZipOrigination><Zi
p
>Destination>20008</ZipDestination><Pounds>10</Pounds><Ounces>5</Ounces><Con
t
>ainer>Flat Rate
>Box</Container><Size>REGULAR</Size></Package></RateV2Request></cfsaveconten
t
>>
>
><cfhttp url="#USPSRequest#" method="GET"></cfhttp>
>
>Thank you,
>Aftershock Web Design, Inc.
>by: Stan Winchester
>President/Developer
>[EMAIL PROTECTED]  
>http://www.aftershockweb.com/   
>Phone 503-244-3440
>Fax 503-244-3454



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:218007
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to