CORS on DataSnap REST Server
May 7, 2015
Cross-origin resource sharing (CORS) is a mechanism that enables resources to be shared across domains. Typically this isn’t allowed to prevent security issues. To enable on your DataSnap REST server you can use the following code per MVPNirav Kakufrom India.
All you need to do is add a custom header in the Response beforedispatching the result on the DataSnap…