Constructing a Request
A typical request to the Custom Location Extension API includes the basic elements shown in the following table and, in addition, it may contain resource-specific parameters or data.
Element | Value/Example | Description |
---|---|---|
Base URL | | Production environment. CIT environment. For more information about the available environments, see HERE Server Environments. |
Path | /2/ | |
Resource | ||
Format | Supported formats:
| |
Application Code | &app_code={YOUR_APP_CODE} | Substitute your own unique app_code |
Application ID | &app_id={YOUR_APP_ID} | Substitute your own unique app_id |
This example search request uses HTTP GET to request locations within 5 kilometers of a point in Berlin, Germany in layer 30, which is for HERE Stores DE:
https://cle.cit.api.here.com/2/search/proximity.json
?app_id={YOUR_APP_ID}
&app_code={YOUR_APP_CODE}
&proximity=52.5079549,13.5472861,5000
&layer_ids=30