Hi
You can use XMLHTTP Object as follows
just add reference of the msxml6.dll
''' <summary>
''' HttpPost Contains static functions to send/post data to
''' webservice of studio application.
''' </summary>
Public Class HttpPost
''' <summary>
''' Posts data to webservies of StudioApp
''' and gets the response from webservice
''' </summary>
''' <param name="DATA_TO_POST">data that you want to post</param>
''' <returns>response text send by webservies</returns>
Shared Function PostData(ByRef DATA_TO_POST As String) As String
Dim http As New MSXML2.XMLHTTP()
ModPreference.WEBSERVICE_URL.Preferense = "http://localhost/Test/Default.aspx"
http.open("POST", ModPreference.WEBSERVICE_URL.Preferense, False)
http.setRequestHeader("content-type", "application/x-www-form-urlencoded")
http.send(DATA_TO_POST)
Return http.responseText
End Function
Shared Function PostData(ByVal Url As String, ByRef DATA_TO_POST As String) As String
Dim http As New MSXML2.XMLHTTP()
http.open("POST", Url, False)
http.setRequestHeader("content-type", "application/x-www-form-urlencoded")
http.send(DATA_TO_POST)
Return http.responseText
End Function
End Class
you can access posted data using Request.Params()