Php USPS API不起作用

Php USPS API不起作用,php,xml,Php,Xml,我已经尝试了stackoverflow发布的几个xml测试 从 http://production.shippingapis.com/ShippingAPI.dll?API=Verify&XML= http://testing.shippingapis.com/ShippingAPITest.dll?API=CityStateLookup&XML=90210 以下是我得到的错误: 一旦他们把我转移到生产部门,一切都很好。我认为错误消息是不言自明的?你确定邮局仍然营业吗?你真的在设置用户id吗?

我已经尝试了stackoverflow发布的几个xml测试

http://production.shippingapis.com/ShippingAPI.dll?API=Verify&XML=

http://testing.shippingapis.com/ShippingAPITest.dll?API=CityStateLookup&XML=90210
以下是我得到的错误:

一旦他们把我转移到生产部门,一切都很好。

我认为错误消息是不言自明的?你确定邮局仍然营业吗?你真的在设置用户id吗?您没有使用
USERID=“xxxxxxx”
,对吗?对不起,我问了一些明显的问题,但我也犯了一些明显的错误。否则,请忽略。@Jonathan,如图中所示,我包含了他们提供的一个用户标识。不过,感谢您确认:)这个问题似乎离题了,因为它是关于第三方支持的
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>
http://testing.shippingapis.com/ShippingAPITest.dll?API=CityStateLookup&XML=<CityStateLookupRequest USERID="xxxxxxx"><ZipCode ID= "0"><Zip5>90210</Zip5></ZipCode></CityStateLookupRequest>