Vivotek IP7151, IP7152 manual General CGI URL syntax and parameters, Security level

Models: IP7151 IP7152

1 106
Download 106 pages 50.62 Kb
Page 67
Image 67

returned data in a box. All data returned as HTTP formatted, i.e., starting with the string HTTP is line separated with a Carriage Return and Line Feed (CRLF) printed as \r\n.

Return:

HTTP/1.0 <HTTP code> <HTTP text>\r\n

URL syntax examples are written with "Example:" in bold face followed by a short description and a light grey box with the example.

Example: request a single snapshot image

http://mywebserver/cgi-bin/viewer/video.jpg

General CGI URL syntax and parameters

CGI parameters are written in lower-case and as one word without any underscores or other separators. When the CGI request includes internal camera parameters, the internal parameters must be written exactly as they are named in the camera or video server. The CGIs are organized in function related directories under the cgi-bin directory. The file extension of the CGI is required.

Syntax:

http://<servername>/cgi-bin/<subdir>[/<subdir>...]/<cgi>.<ext> [?<parameter>=<value>[&<parameter>=<value>...]]

Example: Setting digital output #1 to active

http://mywebserver/cgi-bin/dido/setdo.cgi?do1=1

Security level

SECURITY

SUB-DIRECTORY

DESCRIPTION

LEVEL

 

 

 

0

 

anonymous

Unprotected.

 

 

 

 

 

1

[view]

anonymous, viewer,

1.

Can view, listen, talk to camera

 

 

dido, camctrl

2.

Can control dido, ptz of camera

 

 

 

 

4

[operator]

anonymous, viewer,

Operator’s access right can modify most of

 

 

 

 

 

- 66 -

www.vivotek.com

T: 886-2-82455282

F: 886-2-82455532

Page 67
Image 67
Vivotek IP7151, IP7152 manual General CGI URL syntax and parameters, Security level