(Choose 1 answer)
How can you enable CORS using endpoint routing in ASP.NET Core Web API?
A. By using the app. UseCors() method in the Configure method of the startup.cs file
B. By configuring the CORS options in the appsettings.json file
C. By setting the allowed origins in the Authorization header of the request
D. By adding the [EnableCors] attribute to the Startup.cs file
Q: 38