Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Represents a CORS configuration. Supported only for HTTP APIs. See Configuring CORS for more information.

Hierarchy

  • Cors

Properties

AllowCredentials?: boolean

Specifies whether credentials are included in the CORS request. Supported only for HTTP APIs.

AllowHeaders?: string[]

Represents a collection of allowed headers. Supported only for HTTP APIs.

AllowMethods?: string[]

Represents a collection of allowed HTTP methods. Supported only for HTTP APIs.

AllowOrigins?: string[]

Represents a collection of allowed origins. Supported only for HTTP APIs.

ExposeHeaders?: string[]

Represents a collection of exposed headers. Supported only for HTTP APIs.

MaxAge?: number

The number of seconds that the browser should cache preflight request results. Supported only for HTTP APIs.