Posts by marco • 21 points
1 post
-
2
votes1
answer1099
viewsQ: Restrict access to the Web API
I have a Web API where I restrict access to your methods through the EnableCors, indicating the URL I want to give permission, as follows: namespace WebService.Controllers { [EnableCors(origins:…