P
Pau1
Unregistered / Unconfirmed
GUEST, unregistred user!
Set objHttp = CreateObject("Microsoft.XMLHTTP")
strUrl =” http://211.139.207.145/jmms/interface/Send.
aspx“
strData= " ECode=test&Account=admin&PWD=111&SendTime=2006-07-01&Msg1=hello&Mobile1=13512345678*13512340000"
strData = strData +"&Msg2=hello2 &
Mobile2=13512340001 "
objHttp.Open "POST", strUrl, False
objHttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
objHttp.Send strData
If objHttp.Status <> 200 then
MsgBox "调用服务出错"
else
If InStr(1, objHttp.responseText, "OK") then
MsgBox "提交成功"
else
MsgBox objHttp.responseText
End If
End If
Set objHttp = Nothing
strUrl =” http://211.139.207.145/jmms/interface/Send.
aspx“
strData= " ECode=test&Account=admin&PWD=111&SendTime=2006-07-01&Msg1=hello&Mobile1=13512345678*13512340000"
strData = strData +"&Msg2=hello2 &
Mobile2=13512340001 "
objHttp.Open "POST", strUrl, False
objHttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
objHttp.Send strData
If objHttp.Status <> 200 then
MsgBox "调用服务出错"
else
If InStr(1, objHttp.responseText, "OK") then
MsgBox "提交成功"
else
MsgBox objHttp.responseText
End If
End If
Set objHttp = Nothing