这种有boundary参数的一般用这个完整发包才好一些,这样就不用去做什么主机头了,或是一些必要参数也不用知道,反正把COOKIE弄好就可以了。
<% keyID=POST动作-4548
{完整POST}
<OST数据>OST /publish.php?action=input HTTP/1.1 Host: nrsfh.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:40.0) Gecko/20100101 Firefox/40.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-CN,zh;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Cookie: [COOKIE缓存]
Connection: keep-alive
Content-Type: multipart/form-data; boundary=---------------------------191482474315621
Content-Length: 3483
-----------------------------191482474315621
Content-Disposition: form-data; name="act"
dopost
-----------------------------191482474315621
Content-Disposition: form-data; name="ismember"
1
-----------------------------191482474315621
Content-Disposition: form-data; name="catid"
400
-----------------------------191482474315621
Content-Disposition: form-data; name="id"
-----------------------------191482474315621
Content-Disposition: form-data; name="mixcode"
[mixcode]
-----------------------------191482474315621
Content-Disposition: form-data; name="lat"
-----------------------------191482474315621
Content-Disposition: form-data; name="lng"
-----------------------------191482474315621
Content-Disposition: form-data; name="catid"
400
-----------------------------191482474315621
Content-Disposition: form-data; name="cityid"
[随机整数1-300]
-----------------------------191482474315621
Content-Disposition: form-data; name="areaid"
1083
-----------------------------191482474315621
Content-Disposition: form-data; name="endtime"
0
-----------------------------191482474315621
Content-Disposition: form-data; name="title"
{获取列表值}总标题总内容|标题|自动{/获取列表值}
-----------------------------191482474315621
Content-Disposition: form-data; name="seotitle"
-----------------------------191482474315621
Content-Disposition: form-data; name="keyword"
-----------------------------191482474315621
Content-Disposition: form-data; name="description"
-----------------------------191482474315621
Content-Disposition: form-data; name="dir"
-----------------------------191482474315621
Content-Disposition: form-data; name="content"
{获取列表值}总标题总内容|内容|自动{/获取列表值}
-----------------------------191482474315621
Content-Disposition: form-data; name="contact_who"
明月照我心
-----------------------------191482474315621
Content-Disposition: form-data; name="tel"
-----------------------------191482474315621
Content-Disposition: form-data; name="qq"
-----------------------------191482474315621
Content-Disposition: form-data; name="weixin"
gff097
-----------------------------191482474315621
Content-Disposition: form-data; name="hit"
1
-----------------------------191482474315621
Content-Disposition: form-data; name="zdytongyi"
1
-----------------------------191482474315621--
</POST数据>
<数据解码>UTF-8</数据解码>
<存入变量>OST返回数据</存入变量> <备注>OST动作-4548</备注> {/完整POST}
%>
这里的参数Cookie: [COOKIE缓存]
是软件登陆的缓存,
-----------------------------191482474315621
Content-Disposition: form-data; name="catid"
400
这个参数是我们发的分类,好像这个改了后就是按分类从上往下去数得到的。
-----------------------------191482474315621
Content-Disposition: form-data; name="cityid"
[随机整数1-300]
这个就是我们所说的城市分类吧,我这里弄了随机,这样不至于发的城市名是一样的。