慕桂英4014372
您可以使用以下 URL:https://rapidapi.com/dimashirokov/api/Plivo 首先检查 curl 示例,以便获得正确的响应。下面是 curl 示例的代码:$api_key = '';$from = 'From name';$to = '123456789';$message = 'Test SMS'; $target_url="";$post = array('from' => $from,'to'=>$to,"message"=>$message,"api-key"=>$api_key);$ch = curl_init();curl_setopt($ch, CURLOPT_URL,$target_url);curl_setopt($ch, CURLOPT_POST,1);curl_setopt($ch, CURLOPT_POSTFIELDS, $post);curl_setopt($ch, CURLOPT_RETURNTRANSFER,1);$result=curl_exec ($ch);curl_close ($ch);echo $result;您需要为上述代码添加适当的数据,以便获得响应。