HTTPPost is not allowed by production WebServer for WebAPI (aspnetcore 2.2) – Plesk
I have the following code in the StartUp.ConfigureServices services.AddCors(c=>c.AddPolicy(Konstants.CORS, d=> d.AllowAnyHeader() .AllowAnyMethod() .AllowAnyOrigin() .AllowCredentials() ) ); and in the Configure method I use the following as the first line: app.UseCors(Konstants.CORS); On every controller for web api I use the following…