.NET Web API CORS PreFlight Request
问题 I have some trouble make PUT and DELETE CORS request to Web API on other domain. I've coded API by tutorial http://www.asp.net/web-api/overview/security/enabling-cross-origin-requests-in-web-api#create-webapi-project. GET and POST Requests works fine, but DELETE and PUT doesn't. I get this message: Failed to load resource: the server responded with a status of 405 (Method Not Allowed) Failed to load resource: No 'Access-Control-Allow-Origin' header is present on the requested resource. When I