Accessing Apex REST from using CORS Settings

CORS (Cross-Origin Resource Sharing) support was added to the REST API in the Spring ’15 release. The same-origin policy restricts the browser to only making an XMLHttpRequest to the same host that served the page.  CORS allows pages to request resources from hosts other than the host that served them. In this previous post, I described how JSONP could be […]