Initial commit: SYNC_API project
This commit is contained in:
23
sync_api/test_api.bat
Normal file
23
sync_api/test_api.bat
Normal file
@@ -0,0 +1,23 @@
|
||||
# Script de pruebas para verificar endpoints
|
||||
@echo off
|
||||
echo Ejecutando pruebas de la API...
|
||||
echo.
|
||||
|
||||
echo Probando endpoint raiz...
|
||||
curl -s http://localhost:8000/ || echo Error: API no responde
|
||||
|
||||
echo.
|
||||
echo Probando ping...
|
||||
curl -s http://localhost:8000/api/ping || echo Error: Ping fallo
|
||||
|
||||
echo.
|
||||
echo Probando health check...
|
||||
curl -s http://localhost:8000/api/health || echo Error: Health check fallo
|
||||
|
||||
echo.
|
||||
echo Probando lista de nodos...
|
||||
curl -s http://localhost:8000/api/nodes || echo Error: Lista de nodos fallo
|
||||
|
||||
echo.
|
||||
echo Pruebas completadas.
|
||||
pause
|
||||
Reference in New Issue
Block a user