Skip to content

HTTPS Outcalls

TODO: Write content for this page.

Show how to make HTTP GET and POST requests from canisters. Cover transform functions for consensus on responses, cycle costs for outcalls, response size limits, and idempotency requirements. Include inline code examples (~20 lines) for a basic GET request in both Rust and Motoko. Link to the exchange-rates example for a complete real-world use case.

  • Portal: building-apps/integrations/https-outcalls/ (5 files: overview, GET, POST, technology, costs)
  • icskills: https-outcalls
  • Examples: send_http_get (both, inline ~20 lines), send_http_post (both, link), exchange-rates (Rust, link)
  • concepts/https-outcalls — how outcalls achieve consensus
  • guides/chain-fusion/ethereum — EVM RPC uses HTTPS outcalls under the hood
  • reference/cycles-costs — outcall pricing