|
页面
http://www.xemas.com.cn/project- ... =total&sub-uid=
下面这个是抓包的数据
POST http://www.xemas.com.cn/cms/arti ... mp;getResource=true HTTP/1.1
Host: www.xemas.com.cn
Connection: keep-alive
Content-Length: 187
Accept: application/json, text/javascript, */*; q=0.01
Origin: http://www.xemas.com.cn
X-Requested-With: XMLHttpRequest
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2900.0 Iron Safari/537.36
Content-Type: application/json
DNT: 1
Referer: http://www.xemas.com.cn/project- ... =total&sub-uid=
Accept-Encoding: gzip, deflate
Accept-Language: zh-CN,zh;q=0.8
Cookie: shiro-pm-YSSessionCache=a6180cb5-6757-44a3-8737-4e8b55c9b5e2; UM_distinctid=16b01b01b2f2a7-0eed6170945805-d6a580b-100200-16b01b01b307a1; CNZZDATA1262019654=445808375-1559101447-%7C1559101447
AlexaToolbar-ALX_NS_PH: AlexaToolbar/alxg-3.3
{"categoryUid":"578f81f3-2f93-45d4-aa06-00ee70f833e6","categoryFullPuid":"a22482fe-5ddb-44a2-af49-ebbc22c1d29b","dataQuerys":{"state":"显示"},"orderBy":"userdefine1","orderType":"desc"}
下面的页面的传参:
URL = "http://www.xemas.com.cn/cms/article/query?size=10&page=1&getData=true&getResource=true ",//URL
Encoding = Encoding.GetEncoding("utf-8"),
Host = "www.xemas.com.cn",
Method = "Post",//URL 可选项 默认为Get
ContentType = "application/json",//
Accept = "application/json, text/javascript, */*; q=0.01",
Referer = "http://www.xemas.com.cn/project-announcement.html?parent-uid=&self-uid=&type=total&sub-uid=",
Cookie = "shiro-pm-YSSessionCache=a6180cb5-6757-44a3-8737-4e8b55c9b5e2; UM_distinctid=16b01b01b2f2a7-0eed6170945805-d6a580b-100200-16b01b01b307a1; CNZZDATA1262019654=445808375-1559101447-%7C1559101447",
// 页码__EVENTARGUMENT
Postdata = "{\"categoryUid\":\"578f81f3-2f93-45d4-aa06-00ee70f833e6\", \"categoryFullPuid\":\"a22482fe-5ddb-44a2-af49-ebbc22c1d29b\",\"dataQuerys\":{\"state\":\"显示\"},\"orderBy\":\"userdefine1\",\"orderType\":\"desc\"}"
这样没用总显示请求参数不匹配或需要参数但未传递参数,请问这种Postdata 修要怎么?
|
|