I tried sending an AJAX request with jQuery to a SugarCRM REST endpoint, but it was blocked by Cross Origin Resource Sharing and returned HTTP 404 along with an error. This is the AJAX request: $ . ajax ( { type : 'POST' , url : ' https://example.sugarinstance…