fork download
  1. <?php
  2.  
  3. $phone_numbers = [
  4. "7008101690",
  5. "9853519934",
  6. "8093117332",
  7. "7008065946",
  8. "9348614902",
  9. "7894155590",
  10. "9853519934",
  11. "7894155590",
  12. "7894155590",
  13. "9776121430",
  14. "9853519934",
  15. "8260042286",
  16. "9853519934",
  17. "9337597599",
  18. "9040008857",
  19. "9337709568",
  20. "8850792110",
  21. "8093117332",
  22. "9078576042",
  23. "9776121430",
  24. "7894155590",
  25. "7008669269",
  26. "9437389109",
  27. "8850792110",
  28. "9437389109",
  29. "9776121430",
  30. "7894155590",
  31. "9337101861",
  32. "8327728947",
  33. "7894155590",
  34. "8327728947",
  35. "7894155590",
  36. "9348614902",
  37. "7894155590",
  38. "9776121430",
  39. "7894155590",
  40. "7894155590",
  41. "7894155590",
  42. "9861357758",
  43. "7894155590",
  44. "7894155590",
  45. "7894155590",
  46. "9337101861",
  47. "9337101861",
  48. "7008065946",
  49. "7008065946",
  50. "9437389109",
  51. "7008065946",
  52. "9348614902",
  53. "7894155590",
  54. "7008065946",
  55. "7008065946",
  56. "9337101861",
  57. "7894155590",
  58. "9337101861",
  59. "9439539621",
  60. "9437389109",
  61. "9861061413",
  62. "9337101861",
  63. "8249119572",
  64. "9777965119",
  65. "9437389109",
  66. "9776587817",
  67. "8144220142",
  68. "7779867676",
  69. "6370310374",
  70. "9437411871",
  71. "9853046633",
  72. "9937348434",
  73. "9437170651",
  74. "7848053058",
  75. "8144220142",
  76. "8144310687",
  77. "7978782781",
  78. "7978782781",
  79. "8144310687",
  80. "9348035897",
  81. "9078911559",
  82. "8658063129",
  83. "8144310687",
  84. "7377813013",
  85. "7008197634",
  86. "9438688012",
  87. "9437389109",
  88. "9437389109",
  89. "9437677504",
  90. "8763789779",
  91. "9861357758"
  92. ];
  93. foreach($phone_numbers as $ph){
  94.  
  95. $url = "https://m...content-available-to-author-only...e.com/api/users/send-otp?mobileNumber=".$ph;
  96. $curl = curl_init($url);
  97. curl_setopt($curl, CURLOPT_URL, $url);
  98. curl_setopt($curl, CURLOPT_POST, true);
  99. curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
  100.  
  101. $headers = array(
  102. "Content-Type: application/json",
  103. "Content-Length: 0",
  104. );
  105. curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
  106. //for debug only!
  107. curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
  108. curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
  109.  
  110. $resp = curl_exec($curl);
  111. curl_close($curl);
  112.  
  113. print_r($resp);
  114. }
  115.  
  116. ?>
  117.  
Success #stdin #stdout 0.3s 26356KB
stdin
Standard input is empty
stdout
Standard output is empty