Libreoffice basic equivalent of VBA's "GET" url [closed]
Hello everybody, i've (very recently) swapped to open source world (linux & libreoffice 5) and i'm now looking to convert some very simple macros i did with VBA but even after quite a bit of hours passed to search on web i can't find the LO's basic equivalent of the VBA's "get" url fuction.
I need to fetch datas from a sever (the link is dynamical and i've alredy sorted it's creation in LO's basic) that replies with json format text. Now with VBA i used the following:
Set query = CreateObject("WinHttp.WinHttpRequest.5.1") RESTlink = "Dynamic link" query.Open "GET", RESTlink query.send
Could anyone point me in the right direction?
Please note i've very basic knowledge of VBA too :P
(I suspect I didn't understand your question correctly.)
(1) Generally there are no "equivalents" in LibO BASIC as compared to VBA. EIther valid VBA code is running under the
Option VBAsupport 1
or it must be redesigned from scratch.(2) Any already created object actually having a location should support a service giving access to a method
MyObject.GetURL
, and, (as an abbreviation), to a propertyMyObject.URL
.