cURL & Bash Example
Ce contenu n’est pas encore disponible dans votre langue.
cURL & Bash Example
Section titled “cURL & Bash Example”This guide shows how to use curl and cast to interact with AgentBureau services from the command line.
API_URL="https://agentbureau-api.datafortress.cloud/v1/fax"PAYLOAD='{"recipient": "+49123456789", "content": "Hello from cURL!"}'# ... handle x402 flow using cast ...Letter
Section titled “Letter”API_URL="https://agentbureau-api.datafortress.cloud/v1/letters"PAYLOAD='{"recipient_address": {...}, "content_pdf_url": "..."}'Invoice
Section titled “Invoice”API_URL="https://agentbureau-api.datafortress.cloud/v1/invoices"PAYLOAD='{"customer_details": {...}, "line_items": [...]}'GmbH Formation
Section titled “GmbH Formation”API_URL="https://agentbureau-api.datafortress.cloud/v1/companies/formations"PAYLOAD='{"company_name": "...", "shareholders": [...]}'