1. use webbrowser control: How to Send HTTP Post data to a Web Server http://abstractvb.com/code.asp?A=948 2. use ServerXMLHTTP object:Dim xmlhttp As ObjectSet xmlhttp = CreateObject("MSXML2.ServerXMLHTTP")xmlhttp.Open "POST", "http://localserver/test.asp", Falsexmlhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"xmlhttp.send "Id=1&S=2"Set xmlhttp = Nothing
How to Send HTTP Post data to a Web Server
http://abstractvb.com/code.asp?A=948
2. use ServerXMLHTTP object:Dim xmlhttp As ObjectSet xmlhttp = CreateObject("MSXML2.ServerXMLHTTP")xmlhttp.Open "POST", "http://localserver/test.asp", Falsexmlhttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"xmlhttp.send "Id=1&S=2"Set xmlhttp = Nothing