Hi all,
i have this code of a kb article from MS
i am trying to send multiple form feilds via XMLHTTP
the below code shows me how to send on field... how do i send multiple feilds?
eg DataTopSend + "Id=1 Name=fred age=62"
<%
DataToSend = "id=1"
dim xmlhttp
set xmlhttp = server.Createobject("MSXML2.ServerXMLHTTP"
xmlhttp.Open "POST"," xmlhttp.setRequestHeader "Content-Type", "application/x- xmlhttp.send DataToSend
Response.ContentType = "text/xml"
Response.Write xmlhttp.responsexml.xml
Set xmlhttp = nothing
%>
Cheers
i have this code of a kb article from MS
i am trying to send multiple form feilds via XMLHTTP
the below code shows me how to send on field... how do i send multiple feilds?
eg DataTopSend + "Id=1 Name=fred age=62"
<%
DataToSend = "id=1"
dim xmlhttp
set xmlhttp = server.Createobject("MSXML2.ServerXMLHTTP"
xmlhttp.Open "POST"," xmlhttp.setRequestHeader "Content-Type", "application/x- xmlhttp.send DataToSend
Response.ContentType = "text/xml"
Response.Write xmlhttp.responsexml.xml
Set xmlhttp = nothing
%>
Cheers