VIVOTEK
178 - User's Manual
© 2022 VIVOTEK INC. All Right Reserved
29
2. StyleConvention
InURLsyntaxandindescriptionsofCGIparameters,atext withinanglebracketsdenotesacontent
that is to be replaced with either a value or a string. When replacing the text string, the angle
brackets shall also be replaced. An example of this is the description of the name for the server,
denotedwith<servername>intheURLsy ntaxdescriptionbelow,whichisreplacedwith the string
myserverintheURLsyntax example,alsobelow.
URL syntax is written with the word “Syntax:" written in bold face followed by a box with the
referencesyntaxasseenbelow.Thenameo ftheserveriswrittenas<servername>.Thisisintended
tobereplacedwiththenameoftheactualserver.Thiscaneitherbeaname,e.g.,"mywebcam"or
"thecam.adomain.net"ortheassociatedIPnumberfortheserver,e.g.,192.168.0.220.
SpecialnoteswillbemarkedinRED.
Synta x:
http://<servername>/cgi‐bin/viewer/video.jpg
Descriptionofreturneddataiswrittenwith"Return:"inboldfacefollowedbythereturneddata
showninabox.AlldataisreturnedasHTTPformatted,i.e.,startingwiththestringHTTPandline
separatedwithaCarriageReturnandLineFeed(CRLF)printedas\r\n.
Return:
HTTP/1.0<HTTPcode><HTTPtext>\r\n
URLsyntaxexamplesarewrittenwith"Example:"inboldfacefollowedbyashortdescriptionanda
lightgrey boxwiththeexample.
Example:Requestasinglesnapshotimage
http://mywebserver/cgi‐bin/viewer/video.jpg