beautypg.com

Get server parameter values – Vivotek SD9161-H-v2 2MP PTZ Network Dome Camera User Manual

Page 183

background image

VIVOTEK

User's Manual - 183

©

2022 VIVOTEK INC. All Right Reserved

32

5.

Get Server Parameter Values

Note:

The access right depends on the URL directory.

Method:

GET/POST


Syntax:
http://<

servername

>/cgi-bin/

anonymous

/getparam.cgi?[

]

[&…]

http://<

servername

>/cgi-bin/

viewer

/getparam.cgi?[

]

[&…]

http://<

servername

>/cgi-bin/

operator

/getparam.cgi?[

]

[&…]

http://<

servername

>/cgi-bin/

admin

/getparam.cgi?[

]

[&…]

Where the

should be

[_

] or

[.

]. If you do not specify

any parameters, all the parameters on the server will be returned. If you specify only

, the

parameters oftherelated group will be returned.

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: \r\n
\r\n

where is
=\r\n
[]

is the actual length of content.


Example

: Request IP address and its response

Request:

©

2022 VIVOTEK INC. All Right Reserved

33

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