This is my asp code
<%
http = server.createobject(\"microsoft.xmlhttp\")
http.open \"post\", servleturl, false
http.setrequestheader \"content-type\", \"a
You can also keep using the synchronous request by calling "SetTimeouts" like this:
<%
Dim http
Set http = Server.CreateObject("MSXML2.ServerXMLHTTP")
http.SetTimeouts 600000, 600000, 15000, 15000
http.Open "post", servleturl, false
http.SetRequestHeader "content-type", "application/x-www-form-urlencoded"
http.SetRequestHeader "accept-encoding", "gzip, deflate"
http.Send "request=" & sxml
http_response = http.responsetext
%>
See here for docs.
The parameters are:
setTimeouts (long resolveTimeout, long connectTimeout, long sendTimeout, long receiveTimeout)
The setTimeouts method should be called before the open method. None of the parameters is optional.