title: Why is JsonRequestBehavior needed?
body: <p>Why is <code>Json Request Behavior</code> needed?</p>
  
  <p>If I want to restrict the <code>HttpGet</code> requests to my action I can decorate the action with the <code>[HttpPost]</code> attribute</p>
  
  <p>Example:</p>
  
  <pre><code>[HttpPost]
  public JsonResult Foo()
  {
      return Json("Secrets");
  }
  
  // Instead of:
  public JsonResult Foo()
  {
      return Json("Secrets", JsonRequestBehavior.AllowGet);
  }
  </code></pre>
  
  <p>Why isn't <code>[HttpPost]</code>sufficient?<br>
  Why the framework "bugs" us with the <code>JsonRequestBehavior.AllowGet</code> for every <code>JsonResult</code> that we have. If I want to deny get requests I'll add the <code>HttpPost</code> attribute.</p>