I'm trying to make a dynamic chart using HighCharts, but it seems impossible to include ASP tags inside JavaScript, so I'm trying to use JSon. I followed this tutorial step by step, but when I try to load the page, I get the following message:
This request is blocked because it can be disclosed to third-party websites when it is used in a GET request. To allow GET requests, set JsonRequestBehavior for AllowGet.
So, now I'm wondering if I need to install something in Web.Configor somewhere else.
Web.Config
Could you guys help me?
There is a fairly simple fix. In your query processing functions, where you will have:
return Json(myStuff);
Replace it with overload, which takes JsonRequestBehavior:
JsonRequestBehavior
return Json(myStuff, JsonRequestBehavior.AllowGet);
Source: https://habr.com/ru/post/1780299/More articles:How to add a new model and migrate using South 0.7.2? - django-modelsSelenium cannot find an element by text via xpath - c #Guidelines for Changing NetTiers - c #ะะฐะผะพะบ ะะธะฝะดะทะพั ProxyGenerationException - .netMPMoviePlayerViewController setFullScreen: shows a white screen - iphoneHow to determine if the Outlook folder is open? - c #https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1780301/list-of-email-address-to-public-folders-in-exchange&usg=ALkJrhiZqXeNtb_k2VmbxiIZcRYrLqUsHwC # creating ".exe" with libraries - c #Graphical algorithm for matching nodes - javaJAXB, but will not correctly cancel - javaAll Articles