fork download
  1. <?php
  2.  
  3. $curl = curl_init();
  4.  
  5. CURLOPT_URL => 'https://a...content-available-to-author-only...m.org/bot7249548090:AAFbhH7n5diKcblDRLNNuFep8NuFWIMzHDM/sendMessage',
  6. CURLOPT_RETURNTRANSFER => true,
  7. CURLOPT_ENCODING => '',
  8. CURLOPT_MAXREDIRS => 10,
  9. CURLOPT_TIMEOUT => 0,
  10. CURLOPT_FOLLOWLOCATION => true,
  11. CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
  12. CURLOPT_CUSTOMREQUEST => 'POST',
  13. CURLOPT_POSTFIELDS =>'{
  14. "chat_id": 6489153340,
  15. "text": "Penipu! Anda salah sasaran!"
  16. }',
  17. CURLOPT_HTTPHEADER => array(
  18. 'Accept: application/json',
  19. 'Content-Type: application/json'
  20. ),
  21. ));
  22.  
  23. for($i=0; $i<1300; $i++) {
  24. $response = curl_exec($curl);
  25. }
  26.  
  27. curl_close($curl);
  28. echo $response;
  29. ?>
Success #stdin #stdout 4.08s 26224KB
stdin
Standard input is empty
stdout
Standard output is empty