Changes for page 07 HTTP API

Last modified by Devin Chen on 2025/04/10 16:16

From version 3.1
edited by Hunter
on 2022/07/11 10:41
Change comment: There is no comment for this version
To version 4.1
edited by Hunter
on 2022/07/11 10:48
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -92,7 +92,7 @@
92 92  |**Function**|(% colspan="2" %)Login with username, email, phone number
93 93  |(% rowspan="3" %)**Parameters**|Items|Description
94 94  |alias|Username, email, phone number
95 -|password|Password (Encrypted with md5, 32bit)
95 +|password|32bit password (MD5 encryption)
96 96  |(% rowspan="3" %)**Return value**|Items|Description
97 97  |utype|User Type: 1-Manage Account, 2-Viewer Account
98 98  |sid|User session ID
... ... @@ -108,7 +108,7 @@
108 108  
109 109   alias: weconuser
110 110  
111 - password: 599a3c736c04e196c58a29f43778f7ea(Wecon159)
111 + password: 599a3c736c04e196c58a29f43778f7ea(The md5 encryption result of Wecon159)
112 112  
113 113  (% style="text-align:center" %)
114 114  [[image:V-BOX HTTP manual_html_563261d83c8f3530.png||height="250" width="700" class="img-thumbnail"]]
... ... @@ -117,8 +117,10 @@
117 117  
118 118  alias=weconuser&comid=2&compvtkey=589625dce895454dbff9782c299db156&password=599a3c736c04e196c58a29f43778f7ea&ts=1573897380&key=f1cd9351930d4e589922edbcf3b09a7c
119 119  
120 -MD5 value: 997513ff1320862f0cbb9ce19d0bd253
120 +Put the whole string above encrypted by MD5, so will get the value of "sign"
121 121  
122 +"sign":"997513ff1320862f0cbb9ce19d0bd253"
123 +
122 122  **Step4: ** Set common of header
123 123  
124 124  {"comid":"2","compvtkey":"589625dce895454dbff9782c299db156","ts":"1573897380","sign":"997513ff1320862f0cbb9ce19d0bd253"}