ASP Classic in Xmlhttprquest for the same site

Asked

Viewed 35 times

2

Hello.

I’m trying to do a post of http://java/app/form.Asp for http://java/app/notification.Asp but is giving timeout with the following code:

caminho =  "http://java/app/notificacao.asp"

Set objHTTP = CreateObject("MSXML2.ServerXMLHTTP")
objHTTP.open "POST", caminho, false

objHTTP.setRequestHeader "Content-Type", "application/x-www-form-urlencoded"
objHTTP.send    "id=2"

Response.Write objHTTP.responseText
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.