Expand description
HTTP client for making external requests.
Allows plugins to make HTTP requests to external APIs.
§Example
ⓘ
use orbis_plugin_api::sdk::http;
// Simple GET request
let response = http::get("https://api.example.com/data")?;
// POST with JSON body
let response = http::post("https://api.example.com/users")
.json(&CreateUser { name: "John" })?
.send()?;
// Parse response as JSON
let user: User = response.json()?;Structs§
Enums§
- Method
- HTTP method