Created
December 28, 2016 21:08
-
-
Save kaplanmaxe/5cb5b1b421909537b65efdac59a8c4cc to your computer and use it in GitHub Desktop.
This file contains 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
<?php | |
$ch = curl_init(); | |
curl_setopt($ch, CURLOPT_URL, 'https://api.groupme.com/v3/bots/post'); | |
curl_setopt($ch, CURLOPT_POST, 1); | |
//REPLACE YOUR_BOT_ID with BOT_ID FROM GROUPME | |
curl_setopt($ch, CURLOPT_POSTFIELDS, "text=TESTING&bot_id=YOUR_BOT_ID"); | |
curl_exec($ch); | |
curl_close($ch); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment