|
抓包数据:
- Request URL:
https://anquan.baidu.com/xiapi/api/v1/phone/query
- Request Method:
POST
- Status Code:
200 OK
- Remote Address:
180.97.33.112:443
- Response Headersview source
- Access-Control-Allow-Headers:
SCTOKEN,Content-Type
- Access-Control-Allow-Methods:
GET,PUT,PATCH,POST,DELETE,OPTIONS
- Connection:
keep-alive
- Content-Type:
application/json; charset=utf-8
- Date:
Tue, 27 Aug 2019 07:03:49 GMT
- Request-Id:
8146b350a4e22711
- Server:
Apache
- Tracecode:
02290236580253676810082715
- Transfer-Encoding:
chunked
- X-Powered-By:
PHP/5.6.32
- Request Headersview source
- Accept:
application/json, text/javascript, */*; q=0.01
- Accept-Encoding:
gzip, deflate, br
- Accept-Language:
zh-CN,zh;q=0.8
- Connection:
keep-alive
- Content-Length:
362
- Content-Type:
application/x-www-form-urlencoded; charset=UTF-8
- Cookie:
BAIDUID=0442336F7B379349C65FE298B9055DD1:FG=1; saasid=QCQ8ogO0D9I2o176eBmEWfzpqHwE3Tv2g9tjkQ9UnDI%3D; yjs_js_security_passport=ea39ca4a8ceb9b9ba9a87c1910f7753b4f571ce0_1566877719_js; BIDUPSID=0442336F7B379349C65FE298B9055DD1; PSTM=1566878326; BDORZ=B490B5EBF6F3CD402E515D22BCDA1598; delPer=0; PSINO=3; H_PS_PSSID=1440_21109_29523_29519_29098_29568_29220_26350; ci_session=2a8b044f68227e8105d2dd5022dd360b94a7a879; Hm_lvt_bc03b77c07af0cbdcab6652e1d3f29a8=1566877506; Hm_lpvt_bc03b77c07af0cbdcab6652e1d3f29a8=1566889428
- DNT:
1
- Host:
anquan.baidu.com
- Origin:
https://anquan.baidu.com
- Referer:
https://anquan.baidu.com/haoma/search?search=%E5%BA%9F%E6%97%A7
- 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
- X-Requested-With:
XMLHttpRequest
- Form Dataview sourceview decoded
- search:
%E5%BA%9F%E6%97%A7
- request_page:
1
- position:
27.63954422%7C113.85991703
- data:
129655671676f747ee6cde58df0eb89efb790fec2ec95a80583f1589b7498d310f327e7e289d3a76db1fa4b7d2e810259f2f1b110fb06e91b3664672749ac489733616a9ec523c4452b267c4db124b243cf52b2fdb9b4056b8c8c4dcb93e6b1cb9ca084e17b6710546fdd4983d8abf8dbffaee4881300674d29d6b5eb8bd7227
- key_id:
14
- sign:
f934019d
- 程序
- URL = "https://anquan.baidu.com/xiapi/api/v1/phone/query",//URL
- Method = "Post",//URL 可选项 默认为Get
- ContentType = "application/x-www-form-urlencoded; charset=UTF-8",//
- Accept = "application/json, text/javascript, */*; q=0.01",
- Referer = "https://anquan.baidu.com/haoma/search?search=%E5%BA%9F%E6%97%A7",
- Cookie = "BAIDUID=0442336F7B379349C65FE298B9055DD1:FG=1; saasid=QCQ8ogO0D9I2o176eBmEWfzpqHwE3Tv2g9tjkQ9UnDI%3D; yjs_js_security_passport=ea39ca4a8ceb9b9ba9a87c1910f7753b4f571ce0_1566877719_js; BIDUPSID=0442336F7B379349C65FE298B9055DD1; PSTM=1566878326; BDORZ=B490B5EBF6F3CD402E515D22BCDA1598; delPer=0; PSINO=3; H_PS_PSSID=1440_21109_29523_29519_29098_29568_29220_26350; Hm_lvt_bc03b77c07af0cbdcab6652e1d3f29a8=1566877506; Hm_lpvt_bc03b77c07af0cbdcab6652e1d3f29a8=1566889062; ci_session=193600b3248d8b10e4299d5be7f0b12a9ff83e91",
- //Host="anquan.baidu.com",
- Postdata = "search=%E5%BA%9F%E6%97%A7&request_page=1&position=27.63954422%7C113.85991703&data=129655671676f747ee6cde58df0eb89efb790fec2ec95a80583f1589b7498d310f327e7e289d3a76db1fa4b7d2e810259f2f1b110fb06e91b3664672749ac489733616a9ec523c4452b267c4db124b243cf52b2fdb9b4056b8c8c4dcb93e6b1ce08c37dcc401ba043ad2974ab62441860db535d912fa3230b7db4f729bce5a78&key_id=14&sign=38c71df3",
- UserAgent = "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2900.0 Iron Safari/537.36"
- 这样按参数测试了很久都返回数据总是返回"
{"status":0,"description":"ok","data":{"list":[],"is_auth":"login"}}" - 请教下高手这个post怎么获取数据?
- 打开的Url是
https://anquan.baidu.com/haoma/search?search=%E5%BA%9F%E6%97%A7
|
|