I\'ve written a simple ASP.NET Core 2.2 Web API. The POST method always returns a 404, but GET requests succeed.
ASP.NET Core 2.2 Web API
POST
404
public cl
Try to add:
[EnableCors(origins: " * ", headers: " * ", methods: " * ")]
to your Controller class. ( remove with spaces in the quotes )
More info on Microsoft-Website