Request Headers
LAC currently supports request headers listed in the following table. These headers have default values that you can set for each request. The request headers include sets of metadata about the request/response sent by the client and about the client itself.
Request Header | Type | Supported Values | Default Values |
---|---|---|---|
Host | Required | The Host field value must be set to https://license.x-formation.com | |
Accept | Optional | “application/hal+json” media-type | “application/hal+json” media-type |
Accept-Encoding | Optional | UTF-8 | UTF-8 |
Accept-Language | Optional | en | en |
Date | Optional | UTC timezone | UTC timezone |
See Supported HTTP methods for information about methods to indicate the desired action to be performed on the identified resource.
CORS Headers
Cross-Origin Resource Sharing (CORS) is available only for End-user REST API v3 and above.
Each response contains the headers listed below:
Response Header | Value |
---|---|
Access-Control-Allow-Origin | * |
Access-Control-Allow-Methods | GET, PUT, DELETE, HEAD, OPTIONS |
Access-Control-Allow-Headers | * |