Advertisement
Guest User

Untitled

a guest
Dec 17th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.00 KB | None | 0 0
  1. $url = "https://platform.wetrafficasa.com/api/signup/procform";
  2. $jsonObj = array(
  3.             'ai' => "2958013",
  4.             'ci' => "1814",
  5.             'gi' => "1159",
  6.             'source' => "Facebook",
  7.             'userip' => "1.137.173.191",
  8.             'firstname' => "Pandora",
  9.             'lastname' => "Precious",
  10.             'email' => "pprecious2@t.co",
  11.             'password' => '1q2w3e',
  12.             'phone' => '8697450763',
  13.             'sub' => 'Facebook',
  14.             'MPC_1' => '',
  15.             'MPC_2' => 'wetrafficasa',
  16.             'MPC_3' => $mpc3,
  17.             'MPC_4' => 'Facebook',
  18.         );
  19.  
  20.         $curl = curl_init($url);
  21.  
  22.         curl_setopt_array($curl, array(
  23.             CURLOPT_RETURNTRANSFER => 1,
  24.             CURLOPT_POST => 1,
  25.             CURLOPT_HTTPHEADER => array("x-trackbox-username:"."Trader_leads", "x-trackbox-password:"."Trader_leads74", "x-api-key:"."264388973aaa9b2f9eb2aa84a9c7382e", "Content-type:application/json"),
  26.             CURLOPT_POSTFIELDS => json_encode($jsonObj, JSON_UNESCAPED_UNICODE),
  27.         ));
  28.  
  29.         $result = curl_exec($curl);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement