VPort 2141 Video Encoder User’s Manual
URL Commands for VPort 2141
A-3
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
<length> is the actual length of content.
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 requires 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
nosync
0, 1
Specifies that there should be no sync (write) of the
corresponding configuration file on flash. If parameter is
omitted, a sync write will occur.
(note: this parameter must be put at begin of parameter
list)
<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 Vivotek 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)