HTTP请求与响应示例

xiaoxiao2021-02-28  20

使用了MAC版的Charles进行了HTTP的抓取 软件下载链接: http://download.csdn.net/download/kikitious_du/9988987

软件截图:

请求:

GET /public/api/getUserStructList?callback=jQuery1111047096868593587415_1505989838600&_=1505989838601 HTTP/1.1 Host: lib.csdn.net User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.91 Safari/537.36 Accept: */* Referer: http://blog.csdn.net/kikitious_du Accept-Encoding: gzip, deflate Accept-Language: zh-CN,zh;q=0.8,en;q=0.6 Cookie: uuid_tt_dd=4274671500526634582_20170913; UserName=Kikitious_Du; UserInfo=Jq6xMl44/SHM+uVt8BPFPCu8cm8xAkaDNP4regg7t+ZqkwYzjbt5t9BkSXpBGHFUld/5gPmoZphm6GQ6/yKxGro/LdMAInz/8LLVB7LCR5XqmOL4xM7jRzTgO4PJ0meaw9NJpLxc2XR8jet/LsYK2A==; UserNick=Signal_Du; AU=CA5; UD=愿我们在彼此看不到的岁月里,熠熠生辉。; UN=Kikitious_Du; UE="94587442@qq.com"; BT=1505897177014; access-token=3af786f6-d94a-40bd-a1d5-85bfa36eb400; __message_district_code=110000; connect.sid=s:DoDp7_iwo5tyFnXsRfLKBUmFUICYEB_D.9eeqMsGv+hTZEDAtJBXPbMQ08qbs9QmINiSSsiniTA4; __message_sys_msg_id=0; __message_gu_msg_id=0; __message_cnel_msg_id=0; __message_in_school=0; dc_tos=owml3c; Hm_lvt_6bcd52f51e9b3dce32bec4a3997715ac=1505973188,1505973475,1505981870,1505989839; Hm_lpvt_6bcd52f51e9b3dce32bec4a3997715ac=1505989839 响应:

HTTP/1.1 200 OK Server: openresty Date: Thu, 21 Sep 2017 10:30:40 GMT Content-Type: text/javascript; charset=utf-8 Content-Length: 148 Connection: keep-alive Keep-Alive: timeout=20 X-Powered-By: Express X-Content-Type-Options: nosniff ETag: W/"94-a1345f09" /**/ typeof jQuery1111047096868593587415_1505989838600 === 'function' && jQuery1111047096868593587415_1505989838600({"err":0,"msg":"ok","data":[]});

转载请注明原文地址: https://www.6miu.com/read-1024613.html

最新回复(0)