self signed certificate for telegram bot in php curl – Telegram API
I just wanna send a simple request to telegram bot APIs my code is: $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://api.telegram.org/bot332537240:MY_TOKEN/getUpdates", CURLOPT_CUSTOMREQUEST => "POST", )); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl); if ($err) { echo "cURL Error #:"…