Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

HTTP GET in VBS

Is there a way to perform an HTTP GET request within a Visual Basic script? I need to get the contents of the response from a particular URL for processing.

like image 380
Justin Bennett Avatar asked Oct 15 '08 13:10

Justin Bennett


1 Answers

Dim o Set o = CreateObject("MSXML2.XMLHTTP") o.open "GET", "http://www.example.com", False o.send ' o.responseText now holds the response as a string. 
like image 148
Svante Svenson Avatar answered Sep 28 '22 00:09

Svante Svenson