const fetch = require('node-fetch'); async function test() { try { console.log('Test simple de l\'API...'); const response = await fetch('https://127.0.0.1:6666/health', { method: 'GET', headers: { 'Accept': 'application/json', } }); if (response.ok) { const data = await response.json(); console.log('✅ API fonctionne:', data); } else { console.log('❌ Erreur HTTP:', response.status, response.statusText); } } catch (error) { console.log('❌ Erreur:', error.message); } } test();