Unable to configure CORS for ASP.NET MVC?

Trying to make web api with the option to upload a file to the server, found the project


but you can't make crossdomain queries, trying to tie CORS
[System.Web.Http.Cors.EnableCors(origins: "*", headers: "*", methods: "*")]
users request does not pass, what could be wrong? or is it the client?
March 20th 20 at 11:25
1 answer
March 20th 20 at 11:27

Find more questions by tags APIASP.NETCORS