Creating HTTP requests
network.get(url: string[, headers: table, callback: function]) string
network.get(url: string[, headers: table, callback: function])
string
url
Url
headers
table
Optional. Request headers
callback
function
Optional. If specified, request will be made asynchronously and callback will be called with response as argument.
network.pos(url: string[, data: table, headers: table, callback: function]) string
network.pos(url: string[, data: table, headers: table, callback: function])
data
Optional. POST data.
Last updated 2 years ago