Skip to content

Instantly share code, notes, and snippets.

@sheedy
Last active August 29, 2015 14:00
Show Gist options
  • Save sheedy/11528928 to your computer and use it in GitHub Desktop.
Save sheedy/11528928 to your computer and use it in GitHub Desktop.
Send message to pushover
<?php
curl_setopt_array($ch = curl_init(), array(
CURLOPT_URL => "https://api.pushover.net/1/messages.json",
CURLOPT_POSTFIELDS => array(
"token" => "token",
"user" => "user",
"message" => "hello world",
)));
curl_exec($ch);
curl_close($ch);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment