GitHubpm 发表于 2025-8-19 22:26:06

求助。

POST /opms/api/device-password/verify HTTP/1.1
Content-Type: application/json; charset=utf-8

Content-Length: 139

Host: gwsdb.xuexizhiwang.com

Connection: Keep-Alive

Accept-Encoding: gzip

User-Agent: okhttp/3.10.0



{"deviceSeries":"MD2180000063290","extraIsbn":"md27sdb37jjstxf","registerIsbn":"mdsdb36jjstxf","password":"aaaaa","activateStatus":"after"}

HTTP/1.1 200 OK

Content-Type: application/json

Vary: Accept-Encoding

Vary: Origin

Vary: Access-Control-Request-Method

Vary: Access-Control-Request-Headers

env: prod_jxwnginx2

Server: TencentEdgeOne

Content-Encoding: gzip

Transfer-Encoding: chunked

Connection: keep-alive

Date: Tue, 19 Aug 2025 09:28:44 GMT

EO-LOG-UUID: 13935415618612140234

EO-Cache-Status: MISS



8f

.............

.0...].."......0..;...qRE4T..

..Q1..c.....H.A

.....>....^.......x;V...V.......X........C,.9IC.d.C.sQZ1...s..F....Z.m.............

a

../..B....

0





POST /opms/api/device-password/verify HTTP/1.1

Content-Type: application/json; charset=utf-8

Content-Length: 139

Host: gwsdb.xuexizhiwang.com

Connection: Keep-Alive

Accept-Encoding: gzip

User-Agent: okhttp/3.10.0



{"deviceSeries":"MD2180000063290","extraIsbn":"md27sdb37jjstxf","registerIsbn":"mdsdb36jjstxf","password":"90048","activateStatus":"after"}

HTTP/1.1 200 OK

Content-Type: application/json

Vary: Accept-Encoding

Vary: Origin

Vary: Access-Control-Request-Method

Vary: Access-Control-Request-Headers

env: prod_jxwnginx2

Server: TencentEdgeOne

Content-Encoding: gzip

Transfer-Encoding: chunked

Connection: keep-alive

Date: Tue, 19 Aug 2025 09:29:42 GMT

EO-LOG-UUID: 10600819788857480099

EO-Cache-Status: MISS



8c

.............

.0...].."...?.0........'...BTl........^.NP.....].B..........=......

y?.j@xb.....F=.......P..(J..c...([*....1u..(Q...>9........

a

..3..c....

0







求这段代码含义,作用。

王一之 发表于 2025-8-20 09:40:47

看起来是设备验证之类的请求,没有上下文内容,判断不出来

wilsons 发表于 2025-8-20 10:34:14

本帖最后由 wilsons 于 2025-8-20 10:35 编辑

这段内容不是代码,而是HTTP通信的原始数据包(抓包数据),记录了两个HTTP请求和响应的过程。

作用:调用 /opms/api/device-password/verify 接口,向服务器提交设备序列号、注册码和密码,用于 验证设备密码是否正确,并确认设备是否处于可激活/已激活状态。

请求体是 JSON 格式,返回体是 gzip 压缩过的 JSON,但由于没有对gzip数据解压,看不出返回结果具体是什么。

如果想知道结果是什么,需要手动解压或使用专业工具抓包,比如Fiddler / Charles / Postman/ 浏览器自带Devtools等。
页: [1]
查看完整版本: 求助。