<?php
$url = 'https://bracktv.sigma.vin/api/chatbot/JOALy014wx/RYAWRk1jlx'; // copie exatamente o bot_url que está no banco
$ch = curl_init($url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
$response = curl_exec($ch);
$err = curl_error($ch);
curl_close($ch);

if ($err) {
    echo "ERRO CURL: $err\n";
} else {
    echo "RESPOSTA:\n$response";
}
?>
