I have developed WebAPI and it is working fine but with some doubts.
I created methods for Login as POST: "http://localhost:25782/api/Account/IsValidUser" But it runs with URL "http://localhost:25782/api/Account/IsValidUser/post" Only.
Why I need to append "/post" in URL?
My code of WebAPI:
[HttpPost]
[ActionName("IsValidUser")]
public HttpResponseMessage GetValidUser([FromBody] LoginModel model)
{ ...