Skip to content

Implement http_driver_demo.py example #28

@dgenio

Description

@dgenio

Summary

Demonstrate HTTPDriver with a local in-process HTTP server (no internet).

Behavior

  1. Start a minimal HTTP server in a background thread (use stdlib http.server or similar)
  2. Server responds to POST requests with a JSON payload
  3. Register capability routed to HTTPDriver pointing at localhost
  4. Invoke capability → print Frame
  5. Shut down server cleanly on exit

Acceptance criteria

  • Runs with python examples/http_driver_demo.py — exit 0
  • No internet required (localhost only)
  • Server starts and stops cleanly

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions