HTTP Request Headers
The Map Feedback API uses HTTP Request Headers for authentication credentials and content settings for requests.
The following section explains each of the headers in detail.
Header Name | Description |
---|---|
Accept | Specifies which media types are acceptable for the response (see Accept header specification ).
|
Accept-Charset | Sets the character set used in the response. Default: UTF-8 . |
Auth-Service-Id | Specifies the application associated with the Map Feedback API. If you are using the Map Feedback API with another application, consult your HERE customer representative for the appropriate value. |
Auth-Identifier | Header for the app_id used in conjunction with the request. Substitute your own unique value. |
Auth-Secret | Header for the app_code used in conjunction with the request. Substitute your own unique value. |
Content-Type | Specifies the media type of the body in POST requests. Must be: |
Content Disposition | For new feedback submission requests: form-data; name=-"file";filename="myFile.png" For submitting an attachment for existing feedback: multipart/form-data, boundary="RANDOM_DELIMITER" |
Group-Id | Identifier used by the Map Feedback API to identify incoming feedback submissions. FGx1AWaAzKOo0imNkLmf Note: This value is the same for all feedback submissions. |
http://host/path?CORSH=encodeURIComponent(JSON.stringify( {
"Content-Type": "application/vnd.here.layerObjectList+json; charset=utf-8",
"Accept": "application/json; charset=UTF-8",
"GroupId": "FGx1AWaAzKOo0imNkLmf",
"AuthServiceId": "here_app",
"Auth-Identifier": "<put your app id here>",
"Auth-Secret": "<put your app code/token here>"
} ) )