I am evaluating HERE places APIs. However, the url does return the web page instead of plain JSON as response. Example query:
https://places.cit.api.here.com/places/v1/autosuggest?app_id={YOUR_APP_ID}&app_code{YOUR_APP_CODE}&at=52.5304417,13.4111201&q=rest&pretty
I need the response as simple JSON but can't find any information on the documentation page.
The answer is to add callback parameter to the url. Example:
https://places.cit.api.here.com/places/v1/autosuggest?app_id={YOUR_APP_ID}&app_code{YOUR_APP_CODE}&at=52.5304417,13.4111201&q=rest&pretty&callback=xyz
It is not clear from the documentation. I got this information from HERE support.