Hi,
I tried to use Precisely gecode API below, got error: 'WWW-Authenticate': 'Invalid Access Token'
would you please help? Thanks, Libo
parameters = {
"country": "Australia",
"mainAddress": "349 Somerville Road WEST FOOTSCRAY,VIC Australia",
"matchMode": "Standard",
"fallbackGeo": "true",
"fallbackPostal": "true",
"removeAccentMarks": "false"
}
headerV = {
"Accept": "application/json",
"Content-Type": "application/json",
"user": "myemail",
"Authorization": "Bearer {apikey}"
}
response = requests.get(
"https://api.precisely.com/geocode/v1/basic/geocode", params=parameters, headers=headerV)
print(response.url)
print(response.headers)
------------------------------
Libo Cao
Knowledge Community Shared Account
------------------------------