I am accessing a rest api exposed on a different server through a angular code and i have set the CORS in web.config of rest api code and it is working fine for Get request but it does not work for post request.
it shows below error
Response for preflight has invalid HTTP status code 405