feat(v1.4.1): add native proposal module, Lover Accept Checker AI, and modules documentation catalog
This commit is contained in:
1 parent
4895c201c1
commit
b7ae6c9725
20 files changed
+600
-34
No files matched your search
@@ -0,0 +1,21 @@
|
||||
# 🌐 AiraLang `http` Module
|
||||
> **HTTP Networking & Web Request Client**
|
||||
|
||||
## Import
|
||||
```aira
|
||||
import "http";
|
||||
```
|
||||
|
||||
## Methods
|
||||
- `http.get(url, [headers])`: Perform HTTP GET request.
|
||||
- `http.post(url, data_payload, [headers])`: Perform HTTP POST request.
|
||||
- `http.download(url, destination_path)`: Download remote file to local disk.
|
||||
- `http.status(url)`: Get HTTP response status code.
|
||||
|
||||
## Example
|
||||
```aira
|
||||
import "http";
|
||||
|
||||
let html = http.get("https://httpbin.org/get");
|
||||
say html;
|
||||
```
|
||||
Reference in new issue
Block a user