VIVOTEK
178 - User's Manual
ยฉ 2022 VIVOTEK INC. All Right Reserved
29๎
2. Style๎Convention
In๎URL๎syntax๎and๎in๎descriptions๎of๎CGI๎parameters,๎a๎text ๎within๎angle๎brackets๎denotes๎a๎content ๎
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,๎
denoted๎with๎<servername>๎in๎the๎URL๎sy ntax๎description๎below,๎which๎is๎replaced๎with๎ the ๎ string๎
myserver๎in๎the๎URL๎syntax ๎example,๎also๎below.๎
URL๎ syntax๎ is๎ written๎ with๎ the๎ word๎ โSyntax:"๎ written๎ in๎ bold๎ face๎ followed๎ by๎ a๎ box๎ with๎ the๎
reference๎syntax๎as๎seen๎below.๎The๎name๎o f๎the๎server๎is๎written๎as๎<servername>.๎This๎is๎intended๎
to๎be๎replaced๎with๎the๎name๎of๎the๎actual๎server.๎This๎can๎either๎be๎a๎name,๎e.g.,๎"mywebcam"๎or ๎
"thecam.adomain.net"๎or๎the๎associated๎IP๎number๎for๎the๎server,๎e.g.,๎192.168.0.220.๎
Special๎notes๎will๎be๎marked๎in๎RED.๎
Synta x:๎
http://<servername>/cgiโbin/viewer/video.jpg๎
Description๎of๎returned๎data๎is๎written๎with๎"Return:"๎in๎bold๎face๎followed๎by๎the๎returned๎data๎
shown๎in๎a๎box.๎All๎data๎is๎returned๎as๎HTTP๎formatted,๎i.e.,๎starting๎with๎the๎string๎HTTP๎and๎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๎