Discussions
Enabling CORS on Asi.Scheduler API with IIS 8
about 6 years ago by Liam Elliott(edited)
I am trying to enable CORS on the api so I can make cross-origin calls. The API does not understand the OPTIONS method that is being sent by the browser when I make an XHR request using axios. This results in a 405 for the options preflight request and a CORS failure. What is the quickest way to enable this? I am unsure how to enable the necessary CORS features on a WCF service without access to the entry point.