Tuesday, January 7, 2014

How to solve problem "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"?

        public ActionResult JsonRequest()
            return Json(instanceOfClass, JsonRequestBehavior.AllowGet);

No comments:

Post a Comment