Configuring a CORS rule
A CORS rule specifies how CORS requests are handled.
About this task
To configure a CORS rule, provide the following settings.
- One or more values for the
Origin
header that are accepted for cross-origin requests. The value must be a literal string that includes the scheme and the host. - Whether to return the
Access-Control-Allow-Credentials: true
header. - Whether to append one or more of the following values to the
Access-Control-Expose-Headers
response header value.- The predefined value of the gateway.
- The value of
Access-Control-Expose-Headers
from the backend response. - A custom string.