袍哥,这个接口我用GET 方法传入参数就没有问题,但是用POST方法就出错
用post 方法该怎么传入这两个参数呢?
Dim msg As String = ""
Dim c As String = "http://webservice.webxml.com.cn/WebServices/MobileCodeWS.asmx/getMobileCodeInfo?mobileCode=15091267272&userID="
Dim req = System.Net.WebRequest.Create(c)
req.Method = "GET"
req.C
req.ContentLength = msg.Length
Dim pos = req.GetResponse
Dim stm As System.IO.Stream = pos.GetResponseStream()
Dim reader As New System.IO.StreamReader(stm)
Dim str As String = reader.ReadToEnd
pos.Close
stm.Close
reader.close
msgbox(str)