Vivotek PZ6112, PZ6122 manual General CGI URL Syntax and Parameters, Get Server Parameter Values

Page 70

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/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 high

http://mywebserver/cgi-bin/setparam.cgi?do1=h

Get Server Parameter Values

Note: This request require administrator access

Method: GET/POST

Syntax:

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

- 66 -

www.vivotek.com

T:886-2-82455282 F: 886-2-82455532

Image 70
Contents Page Technical@vivotek.com Before You Use This Product Package Contents Table of Contents Definitions in Configuration Smtp FTPAppendix Hardware Installation To install in EthernetDI+ Software Installation 886-2-82455282 F 886-2-82455282 F 886-2-82455282 F Initial Access to the Network Camera Installing Plug-inCheck Network Settings Add Password to Prevent Unauthorized Access How to Use AuthenticationPrimary User’s Capabilities Main Screen with Camera ViewCamera view ConfigurationPan/tilt/zoom control buttons CCD control buttons Client Settings There are four settings for the client side886-2-82455282 F Administrator’s Capabilities Fine-tuning for Best PerformanceFor Best Real-time Video Images Only Quality Images Will DoSomewhere Between Real-time and Clear Images Select for Motion JpegProtect Network Camera by Passwords Opening Accounts for New UsersBuild a Multimedia Web Attraction Site Demo on Multiple Sites Mid-scale ServiceProduct Demo for E-business Large-scale Service More Flexible Options for ViewersIf the web space has FTP service If the web space has no FTP service Image URL Build a Security Application Send Snapshots When Motion is Detected 886-2-82455282 F Definitions in Configuration System Parameters User Group Administration 886-2-82455282 F Edit User General Network SettingsGet IP address automatically & Use fixed IP address Http StreamingDdns & UPnP 886-2-82455282 F Mail & FTP Smtp886-2-82455282 F 886-2-82455282 F Video Codec Parameters 886-2-82455282 F Image Settings CCD Settings 886-2-82455282 F 886-2-82455282 F Audio 886-2-82455282 F Motion Detection Camera Control Preset function areaCamera control area 886-2-82455282 F Camera control area Preset function area Weekly Schedule Application SetupEvent Operation Sequential Operation 886-2-82455282 F Viewing System Log Factory DefaultFactory default Viewing System ParametersRemote Controller Troubleshooting Appendix886-2-82455282 F 886-2-82455282 F 886-2-82455282 F Cleaning the Lens Pan/Tilt/Zoom DataURL Commands of the Network Camera Tilt speed Zoom timesOverview Style ConventionGet Server Parameter Values General CGI URL Syntax and ParametersMethod GET/POST Set Server Parameter Values Parameter pairAvailable Parameters on the Server NosyncTurn on automatic do restoration Resetip Enable to get ipaddress, subnet, router Wrestart Dns2 User name for primary FTP server, max MPEG4 Set maximum frame rate to 25 fps Ntsc & Cmos Your dynamic hostname Characters Usernameemail Auto iris Drive the Digital Output Query Status of the Digital Input ReturnCapture Single Snapshot Account Management Privilege=dido&privilege=listenSystem Logs Configuration File Upload File firmwareCamera Control Recall System Information Preset Locations Technical Specifications NetworkingElectromagnetic Compatibility EMC Liability