The code below is a Microsoft Excel VBA code. What’s the LibreOffice Calc Basic equivalent of Set request = CreateObject("MSXML2.XMLHTTP")
? I am running LibreOffice 5.1 in Ubuntu 14.04.
Sub testGet
Dim request As Object
Dim response As String
Dim URL As String
Set request = CreateObject("MSXML2.XMLHTTP")
URL = "http://github.com/trending"
With request
.Open "GET", URL, False
.send
response = .responseText
End With
End Sub