I normally use HttpRequest to POST parameters to a URL and receive the results. I would like to use the component to POST XML data instead, and I'm not sure of the syntax.
Here is what I normally do (this is Classic ASP):
<%
set inet=server.CreateObject("Chilkat_9_5_0.Http")
inet.UnlockComponent "xxx"
set inetRequest=server.CreateObject("Chilkat_9_5_0.HttpRequest")
inetRequest.AddParam "parameter1","value1"
set inetResponse=inet.PostUrlEncoded("
https://secure2.authorize.net/gateway/transact.dll", inetRequest)
response.write(inetResponse.BodyStr)
%>
Here is what I started doing with XML instead:
<%
xml="[xml data here]"
set inet=server.CreateObject("Chilkat_9_5_0.Http")
inet.UnlockComponent "xxx"
set inetRequest=server.CreateObject("Chilkat_9_5_0.HttpRequest")
inetRequest.HttpVerb="POST"
inetRequest.ContentType="text/xml"
%>
...but that is where I get stuck, because I'm not sure what to use instead of PostUrlEncoded. Can someone point me in the right direction? Thank you!