Туроператор "Урал батыр"

$curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_RETURNTRANSFER => true, CURLOPT_URL => 'https://api.u-on.ru/1ga3bkGsm1km4/lead/create.json', CURLOPT_POST => true, CURLOPT_SSL_VERIFYHOST => false, CURLOPT_SSL_VERIFYPEER => false, CURLOPT_POSTFIELDS => 'source='.urlencode('заявка с сайта'). '&u_name='.urlencode($_POST['name']). '&u_phone='.urlencode($_POST['phone']) )); $resp = curl_exec($curl); curl_close($curl);