Last active
February 8, 2025 18:49
-
-
Save nhalstead/613a60810ad3a47f7ff7aa1a210a4331 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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.