cors - Cross-Origin Resource Sharing (cors)

Refers to a cross-domain security procedure for JavaScript-based clients.

NameTypeDefaultDescription
idstringA unique configuration ID.
domainstringThe domain name represents the URL being setup with these CORS settings.
allowedOriginsstringnullA comma-separated list of origins allowed to access the configured domain.
allowedMethodsstringA comma-separated list of HTTP methods allowed to be used by the origin domain when making requests to the configured domain.
allowedHeadersstringA comma-separated list of HTTP headers allowed to be used by the origin domain when making requests to the configured domain.
exposeHeadersstringA comma-separated list of HTTP headers that are safe to expose to the calling API.
maxAgelongA long that indicates how many seconds a response to a preflight request can be cached in the browser.
allowCredentialsbooleanA boolean that indicates if the user credentials can be included in the request.