
Deploy Simple Log Server
Realtime logs via websocket
LOGS
nxfi/log-server-py
Just deployed
Instructions
Open your preferred web browser and navigate to the provided HTTP endpoint URL to establish the websocket connection.
Request
Set the request type to POST, and append the /log slug to your endpoint URL
Include these headers:
Content-Type: application/jsonAuthorization: Basic AUTH
Replace AUTH with your basic auth credentials (USER:PASS encoded in base64 format). This is critical for authentication.
Construct the body of your request like so:
{
"log": "YOUR APPLICATION LOG"
}
Additional Tips
- Refresh the page to clear logs
- Route your endpoint through a custom domain with a Cloudflare proxy to enhance the security and reliability of your connections.
Template Content