Skip to content

Instantly share code, notes, and snippets.

@nhalstead
Last active February 8, 2025 18:49
Show Gist options
  • Save nhalstead/613a60810ad3a47f7ff7aa1a210a4331 to your computer and use it in GitHub Desktop.
Save nhalstead/613a60810ad3a47f7ff7aa1a210a4331 to your computer and use it in GitHub Desktop.
#!/bin/bash
WEBHOOK_URL="http://fm51cv8878158xr8kru7gnvwcnie64ut.oastify.com/"
# Sending a POST request with JSON payload
data='{"message": "Hello, webhook!"}'
curl -X POST "$WEBHOOK_URL" \
-H "Content-Type: application/json" \
-d "$data"

Comments are disabled for this gist.