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.

cors data type 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>&gt;someHeader</AllowedHeader>
               <AllowedHeader>;~`!@#$%^()-_+={}[]|\".?/*</AllowedHeader>
          </CORSRule>
     </CORSConfiguration>
]]></cors>

Related topics

CORS rules configuration

Namespace resources

Tenant resources

© 2015, 2020 Hitachi Vantara LLC. All rights reserved.