post and get with same method signature

Rename the second method to something else like “Friends_Post” and then you can add [ActionName(“Friends”)] attribute to the second one. So the requests to the Friend action with POST as request type, will be handled by that action. // Get: [AcceptVerbs(HttpVerbs.Get)] public ActionResult Friends() { // do some stuff return View(); } // Post: [ActionName(“Friends”)] … Read more