此请求已被阻止,因为当用在 GET 请求中时,会将敏感信息透漏给第三方网站。若要允许 GET 请求,请将 JsonRequestBehavior 设置为 AllowGet。

 return new JsonResult()
            {
                Data = new
                {
                    message = "成功!",
               },
               JsonRequestBehavior = JsonRequestBehavior.AllowGet//加上这一句
            };
原文地址:https://www.cnblogs.com/mchuang/p/6139831.html