-
Notifications
You must be signed in to change notification settings - Fork 0
Lua API Network
Leonard Ramminger edited this page Aug 10, 2026
·
1 revision
HTTP client (libcurl) for REST, downloads, and connectivity checks.
Every REST call returns:
| Field | Type | Description |
|---|---|---|
status |
number | HTTP status |
body |
string | response body |
ok |
boolean |
true for 2xx |
headers |
table | lowercase header names |
error |
string? | transport error message |
| Function | Description |
|---|---|
get(url, [headers]) |
HTTP GET |
post(url, body, [headers]) |
HTTP POST |
put(url, body, [headers]) |
HTTP PUT |
delete(url, [headers]) |
HTTP DELETE |
request(method, url, options) |
arbitrary method; options.body, options.headers, options.timeout, options.follow_redirects
|
upload(url, file_path, [headers]) |
multipart POST |
download(url, dest, [options]) |
save to file → { path, bytes }
|
download_and_verify(url, dest, algo, hash, [options]) |
download + hash check |
ping(url, [timeout]) |
{ ok, status, ms, error? } |
is_online([timeout]) |
boolean probe |
set_proxy(url) / set_proxy(nil)
|
process-wide proxy |
local headers = {
["Content-Type"] = "application/json",
Authorization = "Bearer " .. token,
}
local res = beez.net.get("https://api.example.com/v1/status", headers)Quick Reference · Glossary · FAQ
- Fundamentals
- Core Concepts
- Project Layout
- First Pipeline
- Phases and Scopes
- How Phases and Scopes Work
- Selecting with Phases and Scopes
- Designing Phases and Scopes
- Parallel Execution and Dependencies
- Configuration
- Configuration Overview
- Global User Config
- Project Config
- Environment Variables
- Performance Settings
- Cache Settings
- Config Reference
- CLI
- CLI Overview
- Running Targets
- Filtering by Phase
- Running a Single Step
- Listing Entities
- Output and Logging Flags
- Cache and Maintenance Flags
- Meta and Utility Commands
-
Project Scaffolding —
beez --init(embedded Tempify) - CLI Flag Reference
- Lua DSL
- DSL Overview
- Plugin System — Plugins, Config DSL, Standard-Workflows
- Step Declaration
- Task Declaration
- Workflow Declaration
- Order Declaration
- Configure Step
- ReqPack Declaration
- Beez API
- Step Context
- DSL Patterns
- Caching
- Caching Overview
- Step Cache
- Success Cache
- Glob Metadata Cache
- Artifact Patterns
- Cache Keys and Invalidation
- Cache Storage and Maintenance
- Caching Troubleshooting
- UI and Output
- Output Modes
- Progress and Animation
- Colors and Themes
- Run Summaries
- Logging and Log Files
- Development and Contribution
- Building and Setup
- Repository Layout
- Testing
- Code Quality
- Feature Development Workflow
- Submitting Changes