本文是针对官方文档的实践指南
操作步骤
获取接口端口和密码
- 下载工具
- 获取
- 把密码转成base64
https://www.base64encode.org/
- 组装请求
POST http://localhost:8091 HTTP/1.1
Content-Type: application/json
X-M2EE-Authentication: YjhmZDQ2MzMtOTVmYy00OTlhLThhNjQtMWMyY2VmMGZjYjgz
{"action" : "get_current_runtime_requests", "params":{} }
- 成功获得结果
HTTP/1.1 200 OK
Connection: close
Date: Wed, 03 Nov 2021 10:14:18 GMT
Content-Type: application/json;charset=utf-8
Content-Length: 26
{
"feedback": {},
"result": 0
}