Can the Services Framework WebAPI support cross-domain scripting (including GET and POST in all DNN-supported browsers)?
Our web servers (use only JavaScript) are on different domains from our DNN server (which is where authentication and database reside). We want to enable DNN authentication and data exchange using the Services Framework for users that interact with a web site hosted on a server that is on a different domain than the DNN server.
Jquery.AJAX (which uses CORS to enable safe cross-domain calls) does not support IE8/9 (which requires the limited XDomainRequest). IE10 does support CORS. So the JavaScript uses XDomainRequest for IE8/9 and AJAX/CORS for other browsers. My experience is that XDomainRequest is difficult to configure, especially for POST method. We also want to limit domain access to the services (perhaps using "Access-Control-Allow-Origin")
Any working cross-site POST REST examples using the Services Framework (both the WebAPI C# on the DNN server and JavaScipt on the web server)?