Error 405 not allowed on HttpPost in Asp.net core 3.1 web api
When i try to post the raw text with postman the server answer 405 not allowed. I try to add app.UseCors(options => options.AllowAnyOrigin().AllowAnyMethod().AllowAnyHeader()); services.AddCors(); without any solution. Whis is the code of the application: [Route("api/[controller]")] [ApiController] public class VideoWallController :…