Post Data into ASP page

luisribeiro

New member
Local time
Today, 15:59
Joined
Sep 25, 2007
Messages
1
Hello.
I'm trying to use VBA to post data into a ASP URL.
This site is protected with a digital signature, username and password.

I'm trying to use code bellow to post the content of a XSD file.
I still cannot do it. I get the dialog box to enter the digital signature
password. I enter the password but the code the stalls.
The password is correct. Can anyone give me a hint?

Thanks.

Dim oHttpPost As Object
Set oHttpPost = CreateObject("Microsoft.XMLHTTP")

oHttpPost.Open "POST", "https://extranet.anacom.pt/umts/xml_create.asp",
False, "user123", "pwd123"
oHttpPost.setrequestheader "Content-Type", "application/x-www-form-urlencoded"
oHttpPost.send ("ANACOM_UMTS.XSD")
strResponse = oHttpPost.responseText
 

Users who are viewing this thread

Back
Top Bottom