Aller au contenu

cURL & Bash Example

Ce contenu n’est pas encore disponible dans votre langue.

This guide shows how to use curl and cast to interact with AgentBureau services from the command line.

Terminal window
API_URL="https://agentbureau-api.datafortress.cloud/v1/fax"
PAYLOAD='{"recipient": "+49123456789", "content": "Hello from cURL!"}'
# ... handle x402 flow using cast ...
Terminal window
API_URL="https://agentbureau-api.datafortress.cloud/v1/letters"
PAYLOAD='{"recipient_address": {...}, "content_pdf_url": "..."}'
Terminal window
API_URL="https://agentbureau-api.datafortress.cloud/v1/invoices"
PAYLOAD='{"customer_details": {...}, "line_items": [...]}'
Terminal window
API_URL="https://agentbureau-api.datafortress.cloud/v1/companies/formations"
PAYLOAD='{"company_name": "...", "shareholders": [...]}'