也不知道描述的对不对,下面是本人抓的包
POST http://gson.cn/stu/log-new-ok.jsp HTTP/1.1 Host: gson.cn Proxy-Connection: keep-alive Content-Length: 3951 Cache-Control: max-age=0 Origin: http://gson.cn Upgrade-Insecure-Requests: 1 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.98 Safari/537.36 Content-Type: application/x-www-form-urlencoded Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Referer: http://gson.cn/stu/log-new.jsp Accept-Encoding: gzip, deflate Accept-Language: zh-CN,zh;q=0.8 Cookie: JSESSIONID=B556A05621E546087BB06C41747BD4BC weather=%E5%A4%9A%E4%BA%91&dept_id=33&content=66666
最下面的一行是提交过去的东西。
本人想知道,用C# 怎么提交。
解决方案
40
HttpWebRequest搜一下这个 就知道了