Comment on page
☁
network
network.get(url: string[, headers: table, callback: function]):
string
Name | Type | Description |
---|---|---|
url | string | URL |
headers | table | Headers |
callback | function | Callback |
Sends a GET request to the URL.
network.post(url: string[, data: table, headers: table, callback: function]):
string
Name | Type | Description |
---|---|---|
url | string | URL |
data | table | Post data |
headers | table | Headers |
callback | function | Callback |
Sends a POST request to the URL.
Last modified 1yr ago