General cgi url syntax and parameters, Get server parameter values – Vivotek VS2403 User Manual
Page 65
 
- 64 -
www.vivotek.com
General CGI URL syntax and parameters
CGI parameters are written in lower-case and as one word without any underscores or 
other separators. When the CGI request includes internal server parameters, the 
internal parameters must be written exactly as they are named in the server or video 
server. The CGIs are organized in function related directories under the cgi-bin directory. 
The file extension of the CGI is required. 
Syntax: 
http://<servername>/cgi-bin/<subdir>[/<subdir>...]/<cgi>.<ext> 
[?<parameter>=<value>[&<parameter>=<value>...]] 
 
Get server parameter values
Note: This request require administrator access 
Method: GET/POST 
 
Syntax: 
http://<servername>/cgi-bin/admin/getparam.cgi?[<parameter>] 
[&<parameter>…] 
 
where the <parameter> should be <group>[_<name>] or <group>[.<name>] If you 
do not specify the any parameters, all the parameters on the server will be returned. If 
you specify only <group>, the parameters of related group will be returned. 
 
When query parameter values, the current parameter value are returned. 
Successful control requests returns paramter 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 
<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: