|
我的车是云度 pi3 pro,市面上很少的很冷门的廉价车,它也有APP,本人对于抓包和网络请求不是很懂,有没有哪位高手帮助看看,这种情况能不能接入到HA里面。
>> 本文件内容为 https://tsp-2021.yujoy.com.cn:6660/api/powerManager/reqPowerInfoNew 的请求抓包详情,供您分析和定位问题。
1. 请求内容 Request:
POST /api/powerManager/reqPowerInfoNew HTTP/1.1
Host: tsp-2021.yujoy.com.cn:6660
Cookie: JSESSIONID=C2B71B76F493AC6E88E51C0197386603
User-Agent: yundu-ios-phone102
loginToken: 【此处手动隐藏】
tspFlag: 1
tuDeviceId:
deviceType: iPhone 13 Pro
loginName: 【此处手动隐藏】
deviceToken: 【此处手动隐藏】
version: 3.5.0
Content-Length: 13
Connection: keep-alive
token: 【此处手动隐藏】
timestamp: 1675651335
Accept-Language: zh-Hans-CN;q=1, en-CN;q=0.9
Accept: */*
Content-Type: application/json; charset=utf-8
useCode: IZdBsT7q+/Wde0cGUyfycNAmCpMMHbQtWBmRU4dtHmCLrZrzlgtzL8bFGelxe9Q23iE3uKBsxxbbBJa79qqZZw==
Accept-Encoding: gzip, deflate, br
smartDeviceId: 31F4C8B0-E6F2-4D4A-B3BA-477DC5D12FBD
{"reqType":1}
2. 响应内容 Response:
HTTP/1.1 200
Server: nginx/1.18.0
Date: Mon, 06 Feb 2023 02:40:05 GMT
Content-Type: application/json;charset=UTF-8
Transfer-Encoding: chunked
Connection: keep-alive
{"error_msg":"","data":{"onLineStatus":0,"isConnector":0,"dataTime":"2023-02-06 10:26:29","drivingDist":284,"orderedInfo":{"startTime":"2021-03-12 21:58:58","time":"2550"},"carState":0,"remainPower":72,"charginTime":1023,"rechargeType":0,"speed":0,"reserveStat":0,"inRecharge":0},"error_code":0}
====
该记录由 Stream 抓取,仅用于分析和学习,可 AppStore 搜索『抓包』下载,面向开发者永久免费使用。
|
|