Cross-origin resource sharing support in MDM
You can enable the support of cross-origin resource sharing (CORS) in MDM when
developing a web application consuming MDM REST resources.
By default, MDM does not support cross-origin resource sharing for security reasons.
What is cross-origin resource sharing?
The following explain the basic concepts of cross-origin resource
sharing.
An HTML5 cross-origin resource sharing (CORS) policy controls whether and how content running on other domains can perform two-way interaction with the domain that publishes the policy. The policy is fine-grained and can apply access controls per-request based on the URL and other features of the request.
For more information about CORS and how it works, refer to http://www.html5rocks.com/en/tutorials/cors/.
How to enable cross-origin resource sharing in MDM
The following introduce how to enable the cross-origin resource sharing support
in MDM before consuming MDM REST resources.