Cisco Systems WVC80N Home Security System User Manual


 
Appendix D
CGI Commands
35
Wireless-N Internet Home Monitoring Camera
Upload/Download Configuration
Download Configuration Content
Method: GET
URL: http://<ip>/adm/admcfg.cfg
Return:
HTTP/1.0 200 OK \r\n
content-type: application/configuration\r\n
\r\n
<configuration content encoded in Base64 format>
All data in the configuration is encoded in a Base64 format. Please refer to the encoder/decoder sample codes
at the end of this appendix.
To validate the data, there is a hidden checksum inside the configuration content. Because the dword-aligned
checksum algorithm is used, the last data misaligned by dword can be ignored.
Upload Configuration Content
Method: POST
URL: http://<ip>/adm/upload.cgi
Message body:
<boundary=...>
<configuration content encoded in Base64 fvormat>
All data in the configuration is encoded in a Base64 format. Please refer to the encoder/decoder sample
codes at the end of this appendix.
The Camera automatically reboots after receiving and loading the configuration content.
Return:
HTTP/1.0 200 OK \r\n
content-type: text/plain\r\n
\r\n
OK\r\n