suggest ArcGis REST API not returning values

448
1
12-13-2019 03:33 AM
Labels (1)
AndréVieira
New Contributor

Hello,

I am using the suggest ArcGIS REST API to get a list of suggestions based on the text that I am sending. The URL for the get method that I am using is http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/suggest?text={text}&countryCode={... 

For example: if I send this text "Gordon st mackay" it doesn't return any suggestions. If I send "Gordon st, mackay" it returns me a list of suggestions. 

Is there a way to get suggestions if we don't put the comma?

0 Kudos
1 Reply
ShanaBritt
Esri Regular Contributor

I don't seem to be having an issue using the following request without a comma. Do you need to use the countryCode and category parameters?

http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/suggest?text=Gordon%20st%20mackay...

0 Kudos