1

In our application(Deployed in IIS), we have enabled only HTTPS(Disabled HTTP access).

enter image description here

While accessing API endpoint using http protocol with OPTIONS verb, its returning 200 Ok response. enter image description here How to fix?

1 Answers1

0

You can try to disable the OPTIONS verb in IIS, the steps are as follows:

Start the IIS Manager, double-click to open the Request Filtering module, select HTTP Verbs, select Deny Verb… on the right, enter OPTIONS and click OK.

Disable OPTIONS Verb

YurongDai
  • 1,362
  • 1
  • 2
  • 7