title: Disable OPTIONS method call React + Spring boot
body: <p>I am having frontend in React and backend in Spring boot. I am having <code>GET/PUT/POST/DELETE</code> HttpMethods in Rest API, but for every request from the client <code>OPTIONS</code> call is sent by the client(browser). Due to security reasons, I need to restrict these <code>OPTIONS</code> method call from the client. At this moment of time changing on API level is not feasible Is there any configuration kind of thing to prevent this.<br>
  React application is deployed on IIS and Spring boot application on Tomcat.<br>
  React application using <code>Axios</code> as HTTP Client.<br>
  <strong>Note:</strong> I know the preflight request is sent by browser and for this <code>OPTIONS</code> are getting invoked, I don't want to go in that direction.<br></p>