USPS API不起作用

时间:2013-12-18 01:58:31

标签: php xml

我已尝试从stackoverflow发布了几个xml测试。

来自USPS Address Validation Fail

http://production.shippingapis.com/ShippingAPI.dll?API=Verify&XML=<AddressValidateRequest USERID="123USERID567"><Address ID="1"><Address1></Address1><Address2>10051+Orr+%26amp%3b+Day+Rd</Address2><City>santa+fe+springs</City><State>ca</State><Zip5>90670</Zip5><Zip4></Zip4></Address></AddressValidateRequest>

来自USPS api - using curl and codeigniter

http://testing.shippingapis.com/ShippingAPITest.dll?API=CityStateLookup&XML=<CityStateLookupRequest USERID="xxxxxxx"><ZipCode ID= "0"><Zip5>90210</Zip5></ZipCode></CityStateLookupRequest>

这些是我得到的错误: enter image description here enter image description here

1 个答案:

答案 0 :(得分:2)

一旦他们让我进入生产,就没事了。