This commit is contained in:
MihailRis 2026-09-14 20:07:34 +03:00
parent 817092fef4
commit 38da5c89f5
2 changed files with 2 additions and 2 deletions

View file

@ -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(