Source code template for external web portal (Cluster mode)
This article only applies to EAP120 V1.0 (Firmware 20141107), EAP220 V1.0(Firmware 20150105).
You may need to refer to How to configure the portal function on the EAP120 (Cluster mode) before reading this article.
When you develop your external web portal, the following template may be helpful to you.
The Form of your portal page should comply with the following rules:
1. The username and password should be submitted to the url http://IP_address_of_EAP/portal/auth via post
method.
2. The name attributes of username and password in <input> labels should respectively be “username” and
“password”.
Here is a html template for it:
<!-- tplink_post coding requirement:insert the following code in the user-defined portal page -->
<form method="post" action="http://IP_address_of_EAP/portal/auth">
<input type="text" name="username"/>
<input type="password" name="password"/>
</form>
¿Es útil este artículo?
Tus comentarios nos ayudan a mejorar esta web.