get方法的http请求无法获取token:
{
"ErrCode": 0,
"Message": "login success",
"Log": "15:13 执行'服务端命令3'命令, 请求方式OST, 用户:Administrator\r\n发送HTTP请求命令 用时:24毫秒。\r\n
Http方法:GET\r\n Header: { \"X-Auth-Token\": \"X-Auth-Token\" }\r\n StatusCode: 200, ReasonPhrase: 'OK', Version: 1.1, Content: System.Net.Http.HttpConnectionResponseContent, Headers:
{ X-Auth-Token: 951a0af91913d5e77a0b7fb3abcc97a3a Date: Tue, 20 Jun 2023 07:13:54 GMT Server: Cowboy Content-Length: 13 }\r\n 创建变量 result = login success\r\n返回命令 用时:0毫秒。\r\n错误码: 0\r\n信息: login success\r\ntoken: \"login success\"\r\n'服务端命令3'命令执行结束, 用时:29毫秒。\r\n",
"token": "login success"
}
用变量返回的结果是login success
|