API allow all CORS request, except for OPTIONS RRS feed

  • Question

  • User1064071399 posted

    I'm not sure if this problem is related to the fact my api controllers is inside an area inside a normal MVC project.

    I got a corshandler that allows everything. Can do ajax calls without problems (GET, PUT, POST).

    However when I do a PUT or POST (GET is fine) from EmberJS, it seems EmberJS first does a preflight request (OPTIONS) and my api does not allow this?

    Not sure I understand the issue correct even to be honest

    Monday, December 5, 2016 9:29 AM