Cross-Origin Resource Sharing (cors)
Refers to a cross-domain security procedure for JavaScript-based clients.
Attribute name | Data type | Default value | Description |
---|---|---|---|
allowCredentials | boolean | A boolean that indicates if the user credentials can be included in the request. | |
allowedHeaders | string | A comma-separated list of HTTP headers allowed to be used by the origin domain when making requests to the configured domain. | |
allowedMethods | string | A comma-separated list of HTTP methods allowed to be used by the origin domain when making requests to the configured domain. | |
allowedOrigins | string | null | A comma-separated list of origins allowed to access the configured domain. |
domain | string | The domain name represents the URL being setup with these CORS settings. | |
exposeHeaders | string | A comma-separated list of HTTP headers that are safe to expose to the calling API. | |
id | string | A unique configuration ID. | |
maxAge | long | A long that indicates how many seconds a response to a preflight request can be cached in the browser. |