cors data type
The cors
data type describes the cors
resource for tenants and namespaces.
The cors
data type is a string in a CDATA
section that specifies a CORS rules configuration.
Example
Here is an example of the cors
data type.
<cors><![CDATA[<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <CORSConfiguration> <CORSRule> <AllowedOrigin>;:~`!@#$%^()-_+={}[]|\",.?/*</AllowedOrigin> <AllowedMethod>PUT</AllowedMethod> <AllowedHeader>>someHeader</AllowedHeader> <AllowedHeader>;~`!@#$%^()-_+={}[]|\".?/*</AllowedHeader> </CORSRule> </CORSConfiguration> ]]></cors>