What's new

S·T·S Deleted

1630838970739.png

Updated na ulit promo id kaso eto na ung response. hahahha gg
 

Attachments

bakit sayo boss walang bearer
auto get na sya paps hahaha

  1. <?php
  2. # Get token without login info
  3. if ($_POST["number"]) {
  4. $number = $_POST["number"];
  5. $password = $_POST["password"];
  6. $id = $_POST["id"];
  7. $url = "You do not have permission to view the full content of this post. Log in or register now.";
  8. $curl = curl_init($url);
  9. curl_setopt($curl, CURLOPT_URL, $url);
  10. curl_setopt($curl, CURLOPT_POST, true);
  11. curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
  12. $headers = array(
  13. "Content-Type: application/json",
  14. "Accept: application/json",
  15. "X-Application-Token: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzUxMiJ9.eyJhcHBfaWQiOiJpb3MiLCJpYXQiOjE1OTg1ODY1MjYsIm5iZiI6MTU5ODU4NjUyNiwiZXhwIjoxOTEzOTQ2NTI2fQ.xVM2s_Owt4zNWLOlllhPXcRQ4b23x6KQpqs_2NGu9zPlQ9hjOsSS6pr9Qams7jfsyMPXtik2MFvv8V_nT8oG5Q"
  16. );
  17. curl_setopt($curl, CURLOPT_HTTPHEADER, $headers);
  18. $data = <<<DATA
  19. {
  20. "number": "63$number",
  21. "has_agreed": "1"
  22. }
  23. DATA;
  24. curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
  25. $resp = curl_exec($curl);
  26. $auth_token = json_decode($resp);
  27. $auth_token = $auth_token->{"token"};
  28. curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false);
  29. curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
  30. curl_close($curl);
  31. }
 

Similar threads

Back
Top