Obtaining XML from U.S. Postal Service (USPS) rate calculator API with PHP
- by Chris F
hoping somebody here can help me. I'm attempting to pull an XML page from the U.S. Postal Service (USPS) rate calculator, using PHP. Here is the code I am using (with my API login and password replaced of course):
<?
$api = "http://production.shippingapis.com/ShippingAPI.dll?API=RateV4&XML=<RateV4Request ".
"USERID=\"MYUSERID\"…