XML Help

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
hawleyjr
BeerMod
Posts: 2170
Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA

XML Help

Post 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>
Post Reply