Example: request ip address and it’s response – ABUS TVIP41550 PIR network camera User Manual

Page 288

Advertising
background image

288

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 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 request 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

[<parameter pair>]


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

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