Web-API-Routing - Es wurden mehrere Aktionen gefunden, die der Anforderung entsprechen
Ich habe diese Route bekommen:
routes.MapRoute(
name: "Default",
url: "{controller}/{action}/{id}",
defaults: new { id = UrlParameter.Optional }
);
Und diese Aktionen:
[System.Web.Http.HttpPost]
[System.Web.Http.ActionName("GetLoginSeed")]
public object GetLoginSeed()
[System.Web.Http.HttpPost]
[System.Web.Http.AllowAnonymous]
[System.Web.Http.ActionName("Authenticate")]
public object PerformLogin(JObject jr)
Dies ist die Post-Anfrage:
http://localhost:61971/api/Login/GetLoginSeed
Warum habe ich immer mehrere Aktionen gefunden, die dem Anforderungsfehler entsprechen?