fetchAll('SELECT id, created_at, request_body FROM webhook_logs ORDER BY created_at DESC LIMIT 5'); header('Content-Type: application/json'); echo json_encode($rows, JSON_PRETTY_PRINT);