OK -- all you cross-disciplinary developers, I could use some assistance with the following.
I have a vendor who refuses to provide ANY but the absolute most minimal help in resolving problems with my sending an HTTP Post to them.
Their only reply is "In VB6, this is all I have to do using the XML object." Not totally helpful!!!
Well here is the VB6 code that they provided:
Since I am using the Chilkat HTTP ActiveX modules, I will see if they can assist me in converting the above into VFP code using their own HTTP ActiveX modules.
But, in the mean time, if someone can help me twist that code into VFP code, it would be greatly appreciated.
Thanks,
JRB-Bldr
I have a vendor who refuses to provide ANY but the absolute most minimal help in resolving problems with my sending an HTTP Post to them.
Their only reply is "In VB6, this is all I have to do using the XML object." Not totally helpful!!!
Well here is the VB6 code that they provided:
Code:
Private Function PostXML(xml As String) As String
Dim XslHttp As MSXML2.XMLHTTP
Set XslHttp = New MSXML2.XMLHTTP
XslHttp.open "POST", "[URL unfurl="true"]https://typhoonmanager.com/XMLPost/post.asp?ID=a012345",[/URL] False, "", ""
XslHttp.setRequestHeader "content-type", "text/xml"
XslHttp.send (xml)
PostXML = XslHttp.responseText
Set XslHttp = Nothing
End Function
Since I am using the Chilkat HTTP ActiveX modules, I will see if they can assist me in converting the above into VFP code using their own HTTP ActiveX modules.
But, in the mean time, if someone can help me twist that code into VFP code, it would be greatly appreciated.
Thanks,
JRB-Bldr