Hello, Tell me, please, I want to pass authorization on the site, but two values ​​are required to send a POST request

token = Hy6U3z61fflbgT2yJ% 2FVdlQ2719 &

and

uuid = 1461931540

. Found this data in the JS file on the server /doc/js/asset.7229_12d2ef725908f93d26df0ec0839cd410.js

in code

wp.requestHelper.prototype.setSystemValues = function() { this.params.data.platform = 'js'; this.params.data.token = 'Hy6U3z61fflbgT2yJ/VdlQ2719'; // TODO: from wp.settings this.params.data.uuid = parseInt( new Date().getTime() / 1000 + Math.random()*1000, 10); }; 

Can you please tell me how to get this data into a C # variable? Previously, I used only webrequest and webresponse and this was enough to parse the data for authorization .. And here for the first time I encountered this ... Thank you.

  • Why not the official site API? - VladD
  • VladD, tell me how to do it? He in my opinion does not give such an opportunity. - J. Doe
  • You should ask the site maintainers of this site, I don’t even know which site is being discussed. - VladD
  • And if the site does not provide an API? No way to get these variables? - J. Doe
  • If the site does not provide an API, then it does not want information to be pulled from it, which means that it is not necessary to do this. - VladD

0