Sumit Arora

Sumit Arora

  • NA
  • 504
  • 145.6k

Not able to do POST request to webAPI

Aug 12 2016 8:16 PM
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 

Answers (6)