|
抓的包!因为涉及到登陆,所以只能把包的信息发出来!
包信息:
[HTML] 纯文本查看 复制代码
Request URL:[url]https://pddn2.kuaidizs.cn/trade/getBatchTradeSyncStatus?asyncCode=776765349118&api_name=get_batch_sync_status[/url]
Request Method:GET
Status Code:200 OK
Remote Address:47.110.179.123:443
Referrer Policy:no-referrer-when-downgrade
Accept:application/json
Accept-Encoding:gzip, deflate, br
Accept-Language:zh-CN,zh;q=0.9
Connection:keep-alive
Content-Type:application/x-www-form-urlencoded; charset=UTF-8
Cookie:349118_kdzspdd=461692c9b4bee0a94a501bb14c126a6d176265897fe1d161bbeda5073877a6ce0ef28f90d034552d85fa3b4faf137264; rsid_349118=349118_461692c9b4bee0a94a501bb14c126a6d93949852d12c4780bbeda5073877a6ce0ef28f90d034552d85fa3b4faf137264; _ati=7781400881578; JSESSIONID=64E0B44A3651913525BAB31F1DF2EC20
Host:pddn2.kuaidizs.cn
qnquerystring:349118_461692c9b4bee0a94a501bb14c126a6d176265897fe1d161bbeda5073877a6ce0ef28f90d034552d85fa3b4faf137264
Referer:[url]https://pddn2.kuaidizs.cn/newIndex/index.xhtml?userId=349118&kdzsPddToken=461692c9b4bee0a94a501bb14c126a6d176265897fe1d161bbeda5073877a6ce0ef28f90d034552d85fa3b4faf137264[/url]
User-Agent:Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
包返回的数据:
返回的数据:
[C#] 纯文本查看 复制代码 {
"data": {
"progress": "100",
"total": 4,
"sellerInfos": {
"349118": {
"buyerNums": 4,
}
},
"sameBuyerDiffAddr": [],
"pageSize": 50,
"pageRand": "77618",
"sendRemindTradeSize": 0,
"isDone": true,
"taskStatus": 2,
"hasCodBuyers": [],
"buyerTotal": 4,
"pageNo": 1,
"tradesTogether": [{
"buyerNick": "初香",
"canManualMerge": false,
"cod": false,
"isCod": false,
"tids": ["190418-1163763"],
"togetherId": "190418-110763",
}, {
"buyerNick": "摩的",
"canManualMerge": false,
"cod": false,
"isCod": false,
"tids": ["190418-472312273"],
"togetherId": "190418-4712273",
}, {
"buyerNick": "乔丽丽",
"canManualMerge": false,
"cod": false,
"isCod": false,
"tids": ["190417-0825912"],
"togetherId": "190417-08371912",
}, {
"buyerNick": "韩大大",
"canManualMerge": false,
"cod": false,
"isCod": false,
"tids": ["190417-634909"],
"togetherId": "190417-6341909",
}],
"isAutoMerge": true,
"tradeTotal": 4
},
"result": 100
}
我的请求代码!
[C#] 纯文本查看 复制代码 string AsyncCodeValue = GetAsyncCode(cookiestr, Rsid);
HttpHelper httphelper = new HttpHelper();
HttpItem httpitem = new HttpItem()
{
URL = "https://pddn2.kuaidizs.cn/newIndex/index.xhtml?userId=" + AsyncCodeValue + "&api_name=get_batch_sync_status",
Accept = "application/json",
ContentType = "application/x-www-form-urlencoded; charset=UTF-8",
Cookie = cookiestr,
Method = "GET",
Host = "pddn2.kuaidizs.cn",
Referer = "https://pddn2.kuaidizs.cn/newIndex/index.xhtml?userId=" + Rsid[0] + "&kdzsPddToken=" + Rsid[1],
UserAgent = "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36",
};
httpitem.Header.Add("qnquerystring", Rsid[0] + "_" + Rsid[1]);
HttpResult result = httphelper.GetHtml(httpitem);
MessageBox.Show(result.Html);
返回的html就是出错!
我的这个没有执行JS啊!
为什么获得的不是正常的json格式的源码???????????????????
|
-
|