该JSON结构为HttpQuery函数调用时,在参数options
结构中将debug字段设置为true后,HttpQuery函数在调试模式下返回的数据结构。
HTTP状态码 StatusCode number 请求头信息 Header JSON Cookie信息 Cookies array 请求的完整路径信息 Trace JSON 响应报文长度 Length number 响应报文内容 Body string
返回的JSON数据结构示例:
{
"StatusCode": 302,
"Header": {
"Content-Type": ["text/html"],
// ...
},
"Cookies": [{
// ...
}],
"Trace": {},
"Length": 154,
"Body": "..."
}
{@fun/Global/HttpQuery HttpQuery}, {@fun/Global/HttpQuery_Go HttpQuery_Go}