#!/bin/bash echo "🔍 Test de l'API backend..." # Test de base echo "📡 Test GET /api/sites" curl -X GET http://localhost:3000/api/sites -H "Content-Type: application/json" echo -e "\n\n📡 Test POST /api/sites" curl -X POST http://localhost:3000/api/sites \ -H "Content-Type: application/json" \ -d '{ "name": "Site de test", "description": "Site de test pour vérification API" }' echo -e "\n\n✅ Tests terminés"