In a config.xmlserver configuration file, the <Cors> element contains configuration properties for CORS configurations. This element has <CorsConfig> and <Rule> child elements.
Example
<Cors> <CorsConfigname="Default"> <RuleAccess-Control-Allow-Origin="*"Access-Control-Allow-Methods="GET, POST, PUT, DELETE"Access-Control-Allow-Headers="Content-Type,Authorization,Accept,X-US-Transaction"Access-Control-Allow-Credentials="true"/> </CorsConfig> </Cors>