what is a popup login? however, u just send the same post request as the backend does, done
m trying to get my ESP8266 to connect to my router home page (192.168.1.1) but the thing is I don't know how to set up the HTTP get request for the login since it's a popup login. Can someone help me out? How do you generally send a http request for a login page that uses a popup to login?
what is a popup login? however, u just send the same post request as the backend does, done
This is just a WebSocket Connection
you can for example, just search this in the JS Files or Browser and inject a new onmessage eventCode:var ws = new WebSocket('127.0.0.1', 'realm="RT-N10P"');
then u can just see what it sendsCode:ws.addEventListener('message', msg => console.log('server response: %s', msg.data)); ws._send = ws.send; ws.send = function(data) { console.log('i send %s', data); ws._send(data); }
Last edited by MikeRohsoft; 07-29-2019 at 02:15 PM.
The "Authorization: Basic YWRtaW46YWRtaW4=" is the auth header, your user/pass is admin:admin in your example.
Ah we-a blaze the fyah, make it bun dem!
Even familiar landscapes will
reveal a different kind of beauty
if you change your viewpoint.
Where these new encounters
and new bonds will lead you...
Such dazzling golden days.
I, too, look forward to
what I might behold.
^ What they said + Wikipedia Link or RFC 7617