vb inet post 问题 下面是post 数据怎么用inet 提交?
(请求方式)POST××HTTP/1.1Accept*/*Accept-Encodinggzip,deflateAccept-Languagezh-cnCache-Con...
(请求方式) POST ×× HTTP/1.1
Accept */*
Accept-Encoding gzip, deflate
Accept-Language zh-cn
Cache-Control no-cache
Connection Keep-Alive
Content-Length 182
Content-Type application/x-www-form-urlencoded
Cookie vjuids=-c964fec2.130884d225a.0.e5b81fdb79db2; vjlast=1307956814.1307956814.30; _ntes_nnid=739100a0bd64cd8babc42d497d0e00ba,0; _ntes_nuid=739100a0bd64cd8babc42d497d0e00ba; ALLYESID4=00110613172104864269889; NTES_SESS=PJkpSxOWbzVDWyt2Md3NqlWxATceP7qF.nKPi1UdwTMOrUc50rLcGw6xl4AF97ii.1VH3Kry.vWWCwlyAYWhwX7IE85J6aMpQNH3nFvycLxd5; S_INFO=1307956942|0; P_INFO=|1307956942|0||00&99|null&null&null#jix&360900#10|&0; my_posttime_0000000000600003=1307956976129
Host ×××com
Referer http://××××××.html?username=××××
User-Agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
data="***************" 展开
Accept */*
Accept-Encoding gzip, deflate
Accept-Language zh-cn
Cache-Control no-cache
Connection Keep-Alive
Content-Length 182
Content-Type application/x-www-form-urlencoded
Cookie vjuids=-c964fec2.130884d225a.0.e5b81fdb79db2; vjlast=1307956814.1307956814.30; _ntes_nnid=739100a0bd64cd8babc42d497d0e00ba,0; _ntes_nuid=739100a0bd64cd8babc42d497d0e00ba; ALLYESID4=00110613172104864269889; NTES_SESS=PJkpSxOWbzVDWyt2Md3NqlWxATceP7qF.nKPi1UdwTMOrUc50rLcGw6xl4AF97ii.1VH3Kry.vWWCwlyAYWhwX7IE85J6aMpQNH3nFvycLxd5; S_INFO=1307956942|0; P_INFO=|1307956942|0||00&99|null&null&null#jix&360900#10|&0; my_posttime_0000000000600003=1307956976129
Host ×××com
Referer http://××××××.html?username=××××
User-Agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
data="***************" 展开
1个回答
展开全部
Inet1.Execute strURL, "POST",strsenddata,strSendHeader
strURL 你想发送页面的URL
strsenddata 你想发送的数据(字符串)
strSendHeader 你上面那些从Accept开始到User-Agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
都属于head吧
不过好像strSendHeader=“Content-Type application/x-www-form-urlencoded”就行了
strURL 你想发送页面的URL
strsenddata 你想发送的数据(字符串)
strSendHeader 你上面那些从Accept开始到User-Agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1)
都属于head吧
不过好像strSendHeader=“Content-Type application/x-www-form-urlencoded”就行了
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询