Spin HTTP Trigger API

The Spin HTTP Trigger API handles incoming HTTP requests and routes them to the appropriate Spin component. Components receive an HTTP request object and return an HTTP response. Supported via the Spin SDK in Rust, Go, Python, JavaScript, and other languages that target WASI.

API entry from apis.yml

apis.yml Raw ↑
aid: spin:spin-http-trigger-api
name: Spin HTTP Trigger API
description: The Spin HTTP Trigger API handles incoming HTTP requests and routes them to the appropriate
  Spin component. Components receive an HTTP request object and return an HTTP response. Supported via
  the Spin SDK in Rust, Go, Python, JavaScript, and other languages that target WASI.
humanURL: https://spinframework.dev/v3/http-trigger
tags:
- HTTP
- Trigger
- WebAssembly
properties:
- type: Documentation
  url: https://spinframework.dev/v3/http-trigger
- type: GitHubRepository
  url: https://github.com/fermyon/spin