Skip to content

http.Get

Get data from a URL.

Syntax

http.Get(url:string, callback:optional)

Parameters

url URL to fetch.

callback optional Callback function.

Return value

data Returns web page body at given URL.

Note

To make this call non-blocking specify callback(body) function as second argument.