Update README.md

This commit is contained in:
Nasir Hafeez
2020-10-05 13:06:56 +05:00
committed by GitHub
parent 661f91a3a1
commit 57ae925f94

View File

@@ -6,7 +6,7 @@ https://wiki.mikrotik.com/wiki/HotSpot_external_login_page
```
This code will authorize the user with the username `admin` and a blank password.
The router redirecting the user can use the following `POST` parameters. Being `POST` the parameters are not displayed in the URL.
The router redirecting the user can use the following `POST` parameters. Being `POST` the parameters are not displayed in the URL:
```
<form name="redirect" action="https://example.com" method="post">
@@ -24,3 +24,9 @@ The router redirecting the user can use the following `POST` parameters. Being `
<input type="submit" value="continue">
</form>
```
For a typical Android client are redirect parameters are shown below:
```
Array ( [mac] => 70:8A:09:65:4D:EC [ip] => 192.168.88.253 [username] => [link-login] => http://192.168.88.1/login?dst=http%3A%2F%2Fconnectivitycheck.platform.hicloud.com%2Fgenerate%5F204%5Fe45e980b-f016-4fc8-bd31-5a26de43f707 [link-orig] => http://connectivitycheck.platform.hicloud.com/generate_204_e45e980b-f016-4fc8-bd31-5a26de43f707 [error] => [chap-id] => [chap-challenge] => [link-login-only] => http://192.168.88.1/login [link-orig-esc] => http%3A%2F%2Fconnectivitycheck.platform.hicloud.com%2Fgenerate%5F204%5Fe45e980b-f016-4fc8-bd31-5a26de43f707 [mac-esc] => 70%3A8A%3A09%3A65%3A4D%3AEC )
```