LevelOne WCS-2060 Security Camera User Manual


 
50
Example: request IP address and it’s response
Request:
http://192.168.0.123/cgi-bin/admin/getparam.cgi?network_ipaddress
Response:
HTTP/1.0 200 OK\r\n
Content-Type: text/html\r\n
Context-Length: 33\r\n
\r\n
network.ipaddress=192.168.0.123\r\n
Set server parameter values
Note: This request require administrator access
Method: GET/POST
Syntax:
http://<
servername>/cgi-bin/admin/setparam.cgi? [nosync=<value>&]<parameter>=<value>
[&<parameter>=<value>…][&return=<return page>]
parameter value description
<group>_<name>.
value to assigned Assign <value> to the parameter <group>_<name>..
return
<return page>
Redirect to the page <return page> after the parameter
is assigned
. The <return page> can be a full URL path
or relative path according the the current path. If you
omit this parameter, it will redirect to an empty page.
(note: The return page can be a general HTML
file(.htm, .html) or a server script executable (.vspx)
file. It can not be a CGI command. It can not have any
extra parameters. This parameter must be put at end of
parameter list)
Return:
HTTP/1.0 200 OK\r\n
Content-Type: text/html\r\n