confluent/ConfluentTranslator/tests/integration/api/test-health.bat
StillHammer 4b0f916d1c Restructuration complète du projet ConfluentTranslator
- Nouvelle architecture modulaire avec src/api, src/core, src/utils
- Séparation claire docs/ (admin, changelog, dev, security) et tests/ (unit, integration, scripts)
- server.js devient un simple point d'entrée
- Ajout de STRUCTURE.md documentant l'architecture
- Archivage ancien-confluent/ avec générateur de lexique complet

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-02 23:28:12 +08:00

23 lines
598 B
Batchfile

@echo off
REM Test: Endpoint public /api/health
REM Ce endpoint doit être accessible SANS authentification
echo ========================================
echo TEST: /api/health (PUBLIC)
echo ========================================
echo.
echo Expected: Status 200, JSON avec "status":"ok"
echo.
curl -s -w "\nHTTP Status: %%{http_code}\n" http://localhost:3000/api/health
echo.
echo ========================================
if %ERRORLEVEL% EQU 0 (
echo RESULTAT: OK - Endpoint accessible
) else (
echo RESULTAT: ERREUR - Curl failed
)
echo ========================================
pause