Realtime API
Server-Sent Events
Server-Sent Events (SSE) is a server push technology enabling a client to receive automatic updates from a server via HTTP connection.
The Hoppscotch SSE testing tool lets you test out your SSE services.
Connect to a SSE server
- Add the SSE “URL” and “path” and click on “Connect”.
- Choose the event type that you want to subscribe to and connect.
- Message from the SSE server will continuously updated in the log until either the server or client (you) terminate the connection.
Listening to events
The events sent by the server will be displayed in the log pane.
Troubleshooting
- Make sure you enter valid SSE URLs, they always start with the protocol format
http://
orhttps://
. - Make sure the server is sending the correct event type.