玩转HTTP
作为一个web开发者,http往往是那个即熟悉又陌生的家伙
POST请求头
1 Host: 10.1.235.48:28001 2 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0 3 Accept: application/json, text/javascript, */*; q=0.01 4 Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2 5 Accept-Encoding: gzip, deflate 6 Referer: http://10.1.235.48:28001/xxx/jsp/marketing/xxx.jsp 7 Content-Type: application/x-www-form-urlencoded; charset=utf-8 8 X-Requested-With: XMLHttpRequest 9 Content-Length: 35 10 Cookie: JSESSIONID=A5FA08DADA6ECA3D0FDE5B0EB38BF1FC 11 Connection: keep-alive
POST 请求主体
1 pageNum=1&groupName=&customGroupId=