VIVOTEK
User's Manual - 117
When querying parameter values, the current parameter values are returned.
A successful control request returns parameter pairs as follows:
Return:
HTTP/1.0 200 OK\r\n
Content-Type: text/html\r\n
Context-Length: <length>\r\n
\r\n
<parameter pair>
where <parameter pair> is
<parameter>=<value>\r\n
[<parameter pair>]
<length> is the actual length of content.
Example:
Request IP address and its 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
6. Set Server Parameter Values
Note:
The access right depends on the URL directory.
Method:
GET/POST
Syntax:
http://<
servername
>/cgi-bin/
anonymous
/setparam.cgi?
<parameter>=<value>
[&<parameter>=<value>…][&update=<value>][&return=<return page>]
http://<
servername
>/cgi-bin/
viewer
/setparam.cgi?
<parameter>=<value>
[&<parameter>=<value>…][&update=<value>] [&return=<return page>]
http://<
servername
>/cgi-bin/
operator
/setparam.cgi?
<parameter>=<value>
[&<parameter>=<value>…][&update=<value>] [&return=<return page>]