求助:本人菜鸟,今天碰到个POST登录的问题
登录的"Content-Type"类型为:"text/plain"
用httpwatch记录的post数据流是:
callCount=1
page=/
httpSessionId=l6lCPBLZBlQZjTy6tBKv1F2yfZHPhhw2rhmylMQ1sVJBQph85dGR!-1768219189
scriptSessionId=922A3C8C7F9DF21F1C93B3D2CF466C74440
c0-scriptName=LoginAction
c0-methodName=_submit
c0-id=0
c0-param0=boolean:false
c0-e1=string:username
c0-e2=string:
c0-e3=string:password
c0-param1=Object_Object:{userName:reference:c0-e1, loginName:reference:c0-e2, password:reference:c0-e3}
c0-param2=boolean:false
batchId=0
我不知道这个类型的结构到底该怎么构成,就按文本照抄了,这样的
Postdata = "callCount=1" & vbCrLf
Postdata = Postdata & "page=/" & vbCrLf
Postdata = Postdata & Ckie & vbCrLf
Postdata = Postdata & "scriptSessionId=" & ScriptSessionId & vbCrLf
Postdata = Postdata & "c0-scriptName=Domain" & vbCrLf
.............
但是好像不对
哪位大哥指点下到底该怎么弄呢?感激不尽!
登录的"Content-Type"类型为:"text/plain"
用httpwatch记录的post数据流是:
callCount=1
page=/
httpSessionId=l6lCPBLZBlQZjTy6tBKv1F2yfZHPhhw2rhmylMQ1sVJBQph85dGR!-1768219189
scriptSessionId=922A3C8C7F9DF21F1C93B3D2CF466C74440
c0-scriptName=LoginAction
c0-methodName=_submit
c0-id=0
c0-param0=boolean:false
c0-e1=string:username
c0-e2=string:
c0-e3=string:password
c0-param1=Object_Object:{userName:reference:c0-e1, loginName:reference:c0-e2, password:reference:c0-e3}
c0-param2=boolean:false
batchId=0
我不知道这个类型的结构到底该怎么构成,就按文本照抄了,这样的
Postdata = "callCount=1" & vbCrLf
Postdata = Postdata & "page=/" & vbCrLf
Postdata = Postdata & Ckie & vbCrLf
Postdata = Postdata & "scriptSessionId=" & ScriptSessionId & vbCrLf
Postdata = Postdata & "c0-scriptName=Domain" & vbCrLf
.............
但是好像不对
哪位大哥指点下到底该怎么弄呢?感激不尽!