为了进行地理编码,我尝试从pitney bowes获得客户信息API,他们给出了以下详细信息。在
给予:
POST https://api.pitneybowes.com/identify/identifyaddress/v1/rest/validatemailingaddress/results.json HTTP/1.1
Content-Type: application/json
Authorization: Bearer {YOUR ACCESS TOKEN}
Host: api.pitneybowes.com
{
"options": {
"OutputCasing": "M"
},
"Input": {
"Row": [
{
"AddressLine1": "",
"AddressLine2": "",
"City": "",
"Country": "",
"StateProvince": "",
"PostalCode": "",
"FirmName": ""
}
]
}
}
我的程序收到了405的回复。{1>为什么发送请求?在
我的计划是:
^{pr2}$
identifyAddressAPI标准化和验证地址,您应该使用Geocode API进行地理编码。在
下面是正确的python代码来调用Identify Address API,希望这有帮助:
相关问题 更多 >
编程相关推荐