which http methods allowed in “*” when enabling CORS in web api
问题 I have implemented CORS in web API by using Cors library. [EnableCors(origins: "*", headers: "*", methods: "*")] and in webapi config file config.EnableCors(); I called api using POST method, still I was getting error in console i:e No 'Access-Control-Allow-Origin' header is present on the requested resource. Then I changed [EnableCors(origins: "*", headers: "*", methods: "*")] To [EnableCors(origins: "*", headers: "*", methods: "GET, POST, PUT, DELETE, OPTIONS")] Then its started working, my