#!/opt/bin/bash echo Content-type: text/html echo "" /bin/cat << EOM Toggle Office Lights

EOM

SERVER=192.168.1.21
PORT=8123

echo "Sending request to ${SERVER}"

curl http://${SERVER}:${PORT}/api/webhook/toggle_bureau_lights -X POST

/bin/cat << EOM

EOM