Get server parameter values – Vivotek MD9584-HF3 5MP Outdoor Network Mobile Dome Camera with Night Vision, Heater & 3.6mm Lens User Manual

Page 163

Advertising
background image

VIVOTEK

User's Manual - 163

© 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?[

<parameter>

]

[&<parameter>…]

http://<

servername

>/cgi-bin/

viewer

/getparam.cgi?[

<parameter>

]

[&<parameter>…]

http://<

servername

>/cgi-bin/

operator

/getparam.cgi?[

<parameter>

]

[&<parameter>…]

http://<

servername

>/cgi-bin/

admin

/getparam.cgi?[

<parameter>

]

[&<parameter>…]

Where the

<parameter>

should be

<group>

[_

<name>

] or

<group>

[.

<name>

]. If you do not specify

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

<group>

, 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: <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:

© 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

Advertising