Cisco WVC80N User Guide - Page 36

Upload/Download Configuration, Download Configuration Content

Page 36 highlights

Appendix D CGI Commands Upload/Download Configuration Download Configuration Content Method: GET URL: http:///adm/admcfg.cfg Return: HTTP/1.0 200 OK \r\n ... content-type: application/configuration\r\n \r\n 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:///adm/upload.cgi Message body: ... 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 Wireless-N Internet Home Monitoring Camera 35

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66

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