I have an asp.net Core 2.2 web Api and Front end using Angular 10. I enabled cors in API
services.AddCors(); app.UseCors(x => x .AllowAnyMethod(