What is this?
The Echo Service is a lightweight HTTP debugging tool that reflects every incoming request back to the caller as a JSON payload. It's useful for inspecting how requests look after passing through reverse proxies, API gateways, or ingress controllers.
It runs behind the path prefix /contrib/echo/ on OS Launchpad, making it a practical
routing smoke-test for the platform itself.
Endpoints
| Path | Method(s) | Description |
|---|---|---|
| /health | GET | Liveness probe — returns {"status":"healthy"} |
| /api/stats | GET | In-memory request counters & uptime (resets on restart) |
| /echo/* | ANY | Echo catch-all — reflects method, path, headers, query & body |
| / | GET | Home page with interactive request builder |
| /about | GET | This page |
| /demo | GET | Automated demo that fires several echo requests |
| /stats | GET | Live request statistics dashboard |
Echo payload structure
| Field | Description |
|---|---|
| method | HTTP method (GET, POST, …) |
| path | Request path as seen by the service |
| query | Parsed query-string parameters object |
| headers | All request headers (including forwarded ones) |
| body | Parsed request body (POST / PUT / PATCH only) |
| timestamp | ISO-8601 server time when the request was processed |