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

Page 182

Advertising
background image

VIVOTEK

182 - User's Manual

©

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:

Advertising