mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 05:51:51 +00:00
fix
This commit is contained in:
parent
817092fef4
commit
38da5c89f5
2 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ A library for working with the network.
|
|||
|
||||
There is a configurable function `network.request` that allows performing HTTP requests with various methods (GET, POST, PUT, DELETE, etc.) and configuring headers, request body, timeout, and other parameters.
|
||||
|
||||
>[!NOTE] To pass binary data in the request body, use a byte array (Bytearray) or a string. In `on_response`, the `body` string can be converted to a byte array using `Bytearray(response.body)`.
|
||||
> To pass binary data in the request body, use a byte array (Bytearray) or a string. In `on_response`, the `body` string can be converted to a byte array using `Bytearray(response.body)`.
|
||||
|
||||
```lua
|
||||
network.request(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue