Sorry im new to VB, i have this code fragment which posts to a url and then prints out the responce. Assuming i had some xml in the form of a string, how would i fire it at the this address? would it be a parameter of req.send?
Private Sub Command1_Click()
Dim req As New MSXML2.XMLHTTP30
req.Open "POST", "http://18.104.22.168/application/cmti/querylogin.asp?
' Set the HTTP Headers
req.setRequestHeader "HOST", "localhost"
req.setRequestHeader "Content-Type", "multipart/form-data"
Dim responseStr As String
responseStr = "Content-Type: " & req.getResponseHeader("Con
) & vbCrLf
responseStr = responseStr & "Content-Length: " & req.getResponseHeader("Con
h") & vbCrLf
responseStr = responseStr & req.responseText & vbCrLf & req.responseBody & vbCrLf & req.statusText