Return to Pattern Library
Wi-Fi
Serve a local HTTP endpoint
Requires the Temboo extension.
Platform

ESP32

Open in VS Code
Expose a minimal HTTP endpoint on a Wi-Fi-capable target that another host on the local network can call repeatedly.
Applies when
Use for local APIs, diagnostics, configuration endpoints, health checks, or embedded web interfaces on Wi-Fi-capable ESP-IDF targets.
Show pattern details
Hide pattern details
Intent
Inspect or establish the project's Wi-Fi connectivity, start or extend its local HTTP server, and expose a configurable endpoint such as /health that returns a known response without disrupting existing routes or network behavior.
Expectation
A second host on the same network can repeatedly reach the device and receive the expected HTTP status/body from the configured endpoint with stable response behavior.
Success criteria
All configured requests receive the expected status and response body, with no crashes, server stalls, or progressive request failures during the test window.
How it is verified
From another host, send the configured number of HTTP requests to the device and capture status, body, and basic latency. Correlate requests with firmware-side handler logs and check that the application remains responsive after repeated requests.