1、如果出现如下提示
This request has been blocked because sensitive information could be disclosed to third party web sites when this is used in a GET request. To allow GET requests, set JsonRequestBehavior to AllowGet.
2、说明在进行GET请求接口时,如果没有做处理就会报上面的错误
3、解决方法
filterContext.Result = Json(new { m="访问信息"}, JsonRequestBehavior.AllowGet);