update doc/*/scripting/builtins/libnetwork.md
This commit is contained in:
@@ -16,6 +16,11 @@ end)
|
||||
|
||||
-- A variant for binary files, with a byte array instead of a string in the response.
|
||||
network.get_binary(url: str, callback: function(table|ByteArray))
|
||||
|
||||
-- Performs a POST request to the specified URL.
|
||||
-- Currently, only `Content-Type: application/json` is supported
|
||||
-- After receiving the response, passes the text to the callback function.
|
||||
network.post(url: str, data: table, callback: function(str))
|
||||
```
|
||||
|
||||
## TCP Connections
|
||||
|
||||
Reference in New Issue
Block a user