Hello. Not sure if this is best asked here or in a
VB forum, but I'll try here first.
I think this issue has to do with the header. I can send:
<tag1>value</tag1>
but when I add the XML header tag:
<?xml version="1.0" encoding="UTF-8"?><tag1>value</tag1>
it's hanging my program.
The
VB code I'm using is:
Set oHttp = CreateObject("Microsoft.XmlHttp")
sInxml = "<?xml version=" & Chr(34) & "1.0" & Chr(34) & " encoding=" & Chr(34) & "UTF-8" & Chr(34) & "?><tag1>value</tag1>"
oHttp.Open "POST", sURL, False
oHttp.setRequestHeader "Content-Type", "application/x-www-form-urlencoded; charset=UTF-8"
oHttp.send sInxml
Thanks!