为什么需要JsonRequestBehavior?
Json Request Behavior
HttpGet
[HttpPost]
[HttpPost]public JsonResult Foo(){ return Json("Secrets");}// Instead of:public JsonResult Foo(){ return Json("Secrets", JsonRequestBehavior.AllowGet);}
[HttpPost]
JsonRequestBehavior.AllowGet
JsonResult
HttpPost
慕哥9229398
Cats萌萌