Discord Webhook Lab

Test webhook integration — send messages from the browser

Setup Guide

1
Open Discord Server Settings
Right-click the server name → Server Settings → Integrations
2
Create Webhook
Click "Webhooks" → "New Webhook" → Name it "Smart Classroom"
3
Copy Webhook URL
Click "Copy Webhook URL" and paste it below

Configuration

Preview

🏫
Smart Classroom Today at --:--
🟢 Person detected in Smart Classroom

Payload JSON

{ "content": "🟢 Person detected in Smart Classroom", "username": "Smart Classroom" }

Send

Note: Webhook URLs are secret — anyone with the URL can post messages. In a real deployment, the URL is stored in a config file on the Raspberry Pi, not in browser code. This lab is for testing only.