HttpPost vs HttpGet attributes in MVC: Why use HttpPost?
Asked 2011-03-16T21:50:55.087
48
So we have [HttpPost], which is an optional attribute. I understand this restricts the call so it can only be made by an HTTP POST request. My question is why would I want to do this?