beautypg.com

Example: request ip address and it’s response – ABUS TVIP40000 User Manual

Page 287

background image

287

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 the any parameters, all

the parameters on the server will be returned. If you specify only , 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:

\r\n

\r\n

where is

=\r\n

[]


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