Get Webhook Info (GET)
curl -X GET "YOUR_PROTECTED_URL"
curl -X POST "YOUR_PROTECTED_URL" \
-H "Content-Type: application/json" \
-d '{
"content": "Hello from WebhookGuard! 🛡️",
"username": "WebhookGuard Bot",
"avatar_url": "https://cdn.discordapp.com/embed/avatars/0.png"
}'
fetch('YOUR_PROTECTED_URL', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
"content": "Hello from WebhookGuard! 🛡️",
"username": "WebhookGuard Bot",
"avatar_url": "https://cdn.discordapp.com/embed/avatars/0.png"
})
})
import requests
url = "YOUR_PROTECTED_URL"
payload = {
"content": "Hello from WebhookGuard! 🛡️",
"username": "WebhookGuard Bot",
"avatar_url": "https://cdn.discordapp.com/embed/avatars/0.png"
}
response = requests.post(url, json=payload)
print(response.status_code)