/UnityProxy

Proxy for accessing Unity Web Services

Primary LanguageC#

A proxy using ASP.NET Web API for accessing AllScripts' Unity web services. http://developer.allscripts.com/SDK/GetStarted

When trying to access the Unity API from JavaScript, one will likely get a Cross-Origin Resource Sharing-related exception raised by the browser, along the lines of

"Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin '*******' is therefore not allowed access. The response had HTTP status code 405." This error refers to the much more general issue of Cross-Origin Resource Sharing (CORS), and the fact that the Unity API doesn't support it.