0

E メールは API に一時停止しません

 <?php 
   function post_to_url($url, $data) {
       $ch = curl_init();
       curl_setopt($ch, CURLOPT_URL, $url);
       curl_setopt($ch, CURLOPT_POST, 1);
       curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
       curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
       $result = curl_exec ($ch);
       echo $result;
       curl_close ($ch);
   }
   $data = array( "email1" => "myemail@yahoo.com" );

   post_to_url("http://api.payquicker.com/api/IsActiveAccount?email=", $data);

 ?>

echo $result;あるべき---->http://api.payquicker.com/api/IsActiveAccount?email=myemail@yahoo.com

しかし、私は得ているだけですhttp://api.payquicker.com/api/IsActiveAccount?email=

4

1 に答える 1