It is necessary using C # to log in to the site and make changes to it. In my case, the site - setting mining machine. It was not difficult to log in, but one problem arose with the changes. Now I change the parameters of the machine like this
HttpWebRequest req = HttpWebRequest.Create(site.Url + "/cgi-bin/set_miner_conf.cgi") as HttpWebRequest; .... req.Timeout = 30000; req.Method = "POST"; byte[] send = Encoding.UTF8.GetBytes("url1 login1 psw1 url2 login2 psw2 url3 login3 psw3"); req.GetRequestStream().Write(send, 0, send.Length); WebResponse res = req.GetResponse(); res.Close(); return site; But I also need to change the frequency of the machine, which is problematic (for me). Actually the question is, what other ways are there to send the settings to the site?
Another 1 small question, do not laugh at him. Maybe there is some invisible (not a space) character that will not be displayed in the text field on the site?
Page code: https://drive.google.com/file/d/1WReMHjuSVoaeQ8q-jw2XTVBJOQdnB-O0/view