These docs are for v20.3.44. Click to read the latest docs for v20.3.186.

Discussions

Ask a Question
Back to All

Enabling CORS on Asi.Scheduler API with IIS 8

(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.