PROTECTION & SECURITY
CROSS-ORIGIN RESOURCE SHARING (CORS)

To allow cross-origin access to your website/app you need to add headers to your website.

You can add them using console.mydigitalstructure.com > Websites/Apps > [site] > HTTP Headers or use the SETUP_SITE_HTTP_HEADER_SEARCH method.

Common Headers Common Values
Access-Control-Allow-Origin *
Access-Control-Allow-Credentials true
Access-Control-Allow-Methods GET,OPTIONS,POST
Access-Control-Allow-Headers Origin, X-Requested-With, Content-Type, Accept, Key, Cache-Control, X-HTTP-myds-rest-level
Access-Control-Max-Age 1728000

 

 
Protection & Security
CORS