fork download
  1. <?php
  2. $apiKey = urlencode('NmMzNTQ5MzM2Nzc3NDM1MjQxMzU1YTY3MzE1MjcyNDM=');
  3.  
  4. // Message details
  5. $numbers = 919427553856;
  6. $sender = urlencode('DPZOTP');
  7. $message = rawurlencode('Dear Kamiyabali,You have successfully scheduled an appointment with the Doctor Emed Store for the 10:30 PM slot on 11-03-2025. We look forward to serving you well.Regards, DOCTORS PLAZA');
  8.  
  9. // Prepare data for POST request
  10. $data = 'apikey=' . $apiKey . '&numbers=' . $numbers . "&sender=" . $sender . "&message=" . $message;
  11.  
  12. // Send the POST request with cURL
  13. $ch = curl_init('https://a...content-available-to-author-only...l.in/send/');
  14. curl_setopt($ch, CURLOPT_POST, true);
  15. curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
  16. curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  17. $response = curl_exec($ch);
  18.  
  19. // Process your response here
  20. echo $response;
  21. ?>
  22.  
Success #stdin #stdout 0.04s 26332KB
stdin
Standard input is empty
stdout
Standard output is empty