[转载]若要允许 GET 请求,请将 JsonRequestBehavior 设置为 AllowGet – 露水丛生 – 博客园
若要允许 GET 请求,请将 JsonRequestBehavior 设置为 AllowGet - 露水丛生 - 博客园. 请将 JsonRequestBehavior 设置为 AllowGet MVC 默认 Request 方式为 Post。 action public JsonResult GetPersonInfo() { var person = new { Na
- ASP.NET MVC
- mikel
- 2015-01-22
- 147 热度
- 0评论