curl -X GET "http://localhost:3000/api/sendText?phone=--&text=6565&session=default" -H "accept: application/json"
bu kodu phpde nasıl çalıştırabilirim acaba ?
php curl nasıl çalıştırırım
5
●250
- 07-08-2023, 01:33:30
- 07-08-2023, 01:34:55
<?php $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'http://localhost:3000/api/sendText?phone=--&text=6565&session=default'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET'); curl_setopt($ch, CURLOPT_HTTPHEADER, [ 'accept: application/json', ]); $response = curl_exec($ch); curl_close($ch); ?> - 07-08-2023, 01:59:59Bu siteden direk isteği yapıştır sana versin

https://ebubekirbastama.com.tr/CurltoPhp/index.html
Örnek kod:
// Ebubekir Bastama https://www.ebubekirbastama.com $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'http://localhost:3000/api/sendText?phone=--&text=6565&session=default'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET'); $headers = array(); $headers[] = 'Accept: application/json'; curl_setopt($ch, CURLOPT_HTTPHEADER, $headers); $result = curl_exec($ch); if (curl_errno($ch)) { echo 'Error:' . curl_error($ch); } curl_close($ch); - 07-08-2023, 02:26:11Chatgbt nedir? Polislerin kullandığı gbt uygulaması mı? Chatgptyi nasıl chatgbt olarak okuyabiliyor insanlar anlamıyorumLusy adlı üyeden alıntı: mesajı görüntüle
- 07-08-2023, 02:42:05ahaahahahhah hiç farketmemişlim hocambatukay adlı üyeden alıntı: mesajı görüntüle
