The WebServer component is used to send HTTP requests to an HTTP server and capture the responses. It supports HTTP methods GET and POST.
The body of the HTTP response is available in the WebServer.response attribute (String).
getFrom(WebServer, url : "http://oracle.com", args : null)
binaryResponse = Binary(text: WebServer.response,
encoding: "UTF8")
BinaryFile.writeFromBinaryTo(data : binaryResponse,
name : "/tmp/oracle_index.html",
append : false)