I copied this script from here but I'm not sure how to modify it to make it just call the url as a GET request - but I don't need it to write any file output based on the url's response.
script.vbs
sSrcUrl = "http://localhost:8080/trigger_url"
sDestFolder = "D:\script\"
sImageFile = "output.txt"
set oHTTP = WScript.CreateObject("MSXML2.ServerXMLHTTP")
oHTTP.open "GET", sSrcUrl, False
oHTTP.send ""
set oStream = createobject("adodb.stream")
Const adTypeBinary = 1
Const adSaveCreateOverWrite = 2
oStream.type = adTypeBinary
oStream.open
oStream.write oHTTP.responseBody
oStream.savetofile sDestFolder & sImageFile, adSaveCreateOverWrite
set oStream = nothing
set oHTTP = nothing
What's the minimum that this script would need to just ping the url?