capture URL after POST

P

p3plyr

i am working with this code (a sample)

Code:
Public objHTTP  As New MSXML.XMLHttpRequest
Private Sub example()

Dim strWebPage As String
strWebPage = "http://anysite.com"
objHTTP.Open "POST", strWebPage, False
objHTTP.setRequestHeader "Connection", "Keep-Alive"
objHTTP.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
submurl = "siteId=&uname=hello&pwd=there"
objHTTP.send submurl

Do While objHTTP.readyState <> 4
DoEvents
Loop

End Sub

anyone know the code for this?

thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top