Skip to content

Instantly share code, notes, and snippets.

@phpfiddle
Created July 31, 2018 18:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phpfiddle/f95ac7b5745a86226d631050fbfa6fea to your computer and use it in GitHub Desktop.
Save phpfiddle/f95ac7b5745a86226d631050fbfa6fea to your computer and use it in GitHub Desktop.
[ Posted by AmericanLaw ] Discord traffic stop callout
<?php
//https://discordapp.com/api/webhooks/473908899423191061/wOmWGcIB9m9YjCJYO6KR4PrthRxxNdxFf2HCk1PrRtbwwDic8jAVIPehLLKFLWI2AKVZ
$curl = curl_init("https://discordapp.com/api/webhooks/473908899423191061/wOmWGcIB9m9YjCJYO6KR4PrthRxxNdxFf2HCk1PrRtbwwDic8jAVIPehLLKFLWI2AKVZ");
curl_setopt($curl,CURLOPT_POST, 1);
curl_setopt($curl, CURLOPT_POSTFIELDS, json_encode(array("content" => "All units be advides, vehicle accident located in Westover gas. x2 vehicles involved. Timeout, 14:01")));
echo curl_exec($curl);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment