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


Midhun TpRank #388 · 6.5K reputationPosted Aug 12, 2016, 7:38 PM EDT
Midhun TpRank #388 · 6.5K reputationPosted Aug 12, 2016, 5:21 PM EDT
Sumit AroraRank #1,926 · 762 reputationPosted Aug 12, 2016, 7:19 PM EDT
Sumit AroraRank #1,926 · 762 reputationPosted Aug 13, 2016, 2:38 AM EDT
Midhun TpRank #388 · 6.5K reputationPosted Aug 13, 2016, 2:54 AM EDT
Sumit AroraRank #1,926 · 762 reputationPosted Aug 13, 2016, 11:03 AM EDT