Server-Sent Events (SSE)
Route: /sse
Test and monitor Server-Sent Events streams — the one-way, server-to-client push protocol built on top of HTTP.
Features
- Connect to any SSE endpoint and watch events arrive in real time.
- Live event log with timestamps and event data.
- Connection status indicator (connecting / open / closed / error).
- Custom headers and request method (GET or POST) for the upstream stream.
How it works
The browser's native EventSource can't set custom headers and is blocked by
CORS for cross-origin endpoints, so Acolyte proxies the stream through its own
route handler: GET /api/sse (and POST for
streams that require a request body). You provide the upstream endpoint via the
url parameter and Acolyte relays the text/event-stream back to the browser.
Using it
- Open SSE from the sidebar.
- Enter the URL of an SSE endpoint.
- Click Connect.
- Watch events populate the log as they stream in.
- Click Disconnect to close the connection.
Related
- REST APIs — for request/response HTTP.
- WebSockets — when you need to send data back to the server.
- API Reference →
/api/sse