Page 1 of 1

XML Help

Posted: Tue Aug 17, 2004 10:00 pm
by hawleyjr
Using the following USPS API. I need to run the following test scripts. I have a username and password; my question to you'all is how do I go about doing this? I'm pretty..ok, very new to XML.

-Thanks

Code: Select all

Valid Request #1

http://SERVERNAME/ShippingAPITest.dll?API=Verify&XML=<AddressValidateRequest%
20USERID="xxxxxxx"%20PASSWORD="xxxxxxx"><Address ID="0"><Address1></Address1>
<Address2>6406 Ivy Lane</Address2><City>Greenbelt</City><State>MD</State>
<Zip5></Zip5><Zip4></Zip4></Address></AddressValidateRequest>

Valid Request #2

http://SERVERNAME/ShippingAPITest.dll?API=Verify&XML=<AddressValidateRequest%
20USERID="xxxxxxx"%20PASSWORD="xxxxxxx"><Address ID="1"><Address1></Address1>
<Address2>8 Wildwood Drive</Address2><City>Old Lyme</City><State>
CT</State><Zip5>06371</Zip5><Zip4></Zip4></Address></AddressValidateRequest>