Fixing issue in making cross domain Ajax call to SharePoint REST service in Chrome

This post is a contribution from Jing Wang, an engineer with the SharePoint Developer Support team Symptom: Remote Ajax Application is configured with Windows Authentication. It makes XMLHttpRequest to SharePoint 2013 Web Service, listdata.svc. Sample code: <!DOCTYPE html> <html> <head> <script src=”http://ajax.cdnjs.com/ajax/libs/json2/20110223/json2.js” type=”text/javascript” ></script> <script src=”http://code.jquery.com/jquery-1.9.1.js” type=”text/javascript” ></script> </head> <body> <h1>test page</h1> <script type=”text/javascript”> //Ajax…

2