manual

3
summary
The CGI APIs is based on http protocal.
Different CGI with different Permissionsvisitoroperator and Administrator. In this article
cgi only support get and post method. upgrade_firmware.cgi and upgrade_htmls.cgi only
support post methodotherscgi only support get method.
next_url:an option param. If you don’t want only return a simple “OK” when set
succeed,you can add a param in the end——next_url.The param is the next file it jump to
when set succeed.The param must be a Relative path.
Get: (Example)
<form action=”/set_mail.cgi”>
<input name=”svr”>
<input name=”user”>
<input name=”pwd”>
<input name=”sender”>
<input name=”receiver1”>
<input name=”receiver2”>
<input name=”receiver3”>
<input name=”receiver4”>
<input type=hidden name=”next_url” value=”index.htm”>
<input type=submit value=”ok”>
</form>
Post : (Example)
<form action=”upgrade_firmware.cgi?next_url=index.htm” method=”post”
enctype=”multipart/form-data”>
<input type=”file” name=”file” size=”20”>
</form>