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>
[?
Get server parameter values
Note: This request require administrator access
Method: GET/POST
Syntax:
http://<servername>/cgi-bin/admin/getparam.cgi?[
[&
where the
do not specify the any parameters, all the parameters on the server will be returned. If
you specify only
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:
\r\n
Example:
request IP address and it’s response
Request:
http://192.168.0.123/cgi-bin/admin/getparam.cgi?network_ipaddress
Response: