Ejemplo CORS request (HTML)

JavaScript

/*
    The site http://www.html5rocks.com has CORS enabled in all its pages
        http://www.html5rocks.com/en/tutorials/file/xhr2/#toc-enable-cors
    Check the headers an you'll see
        Access-Control-Allow-Origin: * 
    in the Response Headers
*/

$.ajax({
    url: "http://localhost:55212/umbraco/api/PublicApiMetadata/GetPublications?languageCode=en",
    success: function( response_html ) {
        document.body.innerHTML = response_html;
    }
});