Skip to content

Instantly share code, notes, and snippets.

@BaQs
Last active February 4, 2021 19:13
Show Gist options
  • Save BaQs/1c1a2be3e962073094def1e0cc26a14c to your computer and use it in GitHub Desktop.
Save BaQs/1c1a2be3e962073094def1e0cc26a14c to your computer and use it in GitHub Desktop.
2 transactions to https://apiieu.ezvizlife.com
PUT /v3/devices/E43550303/1/1/303/switchStatus HTTP/1.1
Host: apiieu.ezvizlife.com
Content-Type: application/x-www-form-urlencoded
Content-Length: 52
Accept: */*
Connection: keep-alive
Accept-Language: fr;q=1, en;q=0.9
clientVersion: 4.9.2.956034
Accept-Encoding: gzip, deflate, br
User-Agent: EZVIZ/4.9.2 (iPhone; iOS 14.4; Scale/2.00)
sessionId: xxx
clientType: 1
lang: fr
clientNo:
areaId: 115
ssid: 110100
netType: WIFI
osVersion: 14.4
channelNo=1&deviceSerial=E43550303&enable=1&type=303
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Date: Thu, 04 Feb 2021 18:45:04 GMT
Server: Tengine
Content-Length: 62
Connection: keep-alive
{"meta":{"code":200,"message":"操作成功","moreInfo":null}}
PUT /v3/devices/E43550303/1/0/303/switchStatus HTTP/1.1
Host: apiieu.ezvizlife.com
Content-Type: application/x-www-form-urlencoded
Content-Length: 52
Accept: */*
Connection: keep-alive
Accept-Language: fr;q=1, en;q=0.9
clientVersion: 4.9.2.956034
Accept-Encoding: gzip, deflate, br
User-Agent: EZVIZ/4.9.2 (iPhone; iOS 14.4; Scale/2.00)
sessionId: xxx
clientType: 1
lang: fr
clientNo:
areaId: 115
ssid: 110100
netType: WIFI
osVersion: 14.4
channelNo=1&deviceSerial=E43550303&enable=0&type=303
HTTP/1.1 200 OK
Content-Type: application/json;charset=UTF-8
Date: Thu, 04 Feb 2021 18:45:06 GMT
Server: Tengine
Content-Length: 62
Connection: keep-alive
{"meta":{"code":200,"message":"操作成功","moreInfo":null}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment