system

Configure the CORS settings.

post/sys/config/cors

Request body

allowed_headersstring[]

A comma-separated string or array of strings indicating headers that are allowed on cross-origin requests.

allowed_originsstring[]

A comma-separated string or array of strings indicating origins that may make cross-origin requests.

enableboolean

Enables or disables CORS headers on requests.

Response

OK

Changes

No recorded changes to this endpoint across all 1 revision of this API.