Skip to main content

CORS Header

This setting is available in small, large, VOD and streaming resource types.

Parameters

Description

Type

Required

organization_uuid

The created organization in Medianova Cloud Panel unit ID value. Path parameter.

String

Yes

resource_uuid

The created resource in Medianova Cloud Panel unit ID value. Path parameter.

String

Yes

status_cors_header

The values of the status_cors_header must be any of the; “true”, “false”.

Boolean

Yes

cors_domains

When enabled, this feature enables CORS operation from everywhere. You can also define specific domains to allow CORS. If status_cors_header is true, cors_domains is required.

String

Yes

Payload

CODE
{
    "resource_uuid": "****-****-*****-****",
    "status_cors_header": "on",
    "cors_domains": [
        "domain1.com",
        "domain2.com"
    ]
}

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.