I have a VBS program that successfully runs a cURL script, which accesses my API. XML is returned to the screen fine. However I want to capture the return from within the VBS script. Here is what I have:
'* Run a Curl command line
Set objXMLDoc = CreateObject("Msxml2.DOMDocument")
Set WSHShell = CreateObject("WScript.Shell")
msgbox "Data returned is: " &objXMLDoc.SelectSingleNode("//recordID").text
I swiped the Doc.LoadXML.responseText from another script that worked fine when a log in was not required. I just need to get the XML text into memory so I can pretty it up for display.