http-endpoints

Installation
SKILL.md

HTTP Endpoints

Comparable to: Express, Fastify, Flask

Key Concepts

Use the concepts below when they fit the task. Not every HTTP endpoint needs all of them.

  • Each route is a registered function bound to a path and method via an HTTP trigger
  • The handler receives an ApiRequest object containing body, path_params, headers, and method
  • Handlers return { status_code, body, headers } to shape the HTTP response
  • RestApiModule serves all registered routes on port 3111
  • Path parameters use colon syntax (e.g. /users/:id) and arrive in path_params

Architecture

HTTP request
  → RestApiModule (port 3111)
    → registerTrigger route match (method + path)
Related skills
Installs
3
Repository
iii-hq/skills
GitHub Stars
7
First Seen
Mar 23, 2026