test-api.bat 391 B

12345678910111213141516
  1. @echo off
  2. chcp 65001 >nul 2>&1
  3. echo ========================================
  4. echo Testing API Endpoints
  5. echo ========================================
  6. echo.
  7. echo [1] Testing /api/devices endpoint...
  8. curl -s http://localhost:8080/api/devices | python -m json.tool
  9. echo.
  10. echo [2] Testing /api/topology endpoint...
  11. curl -s http://localhost:8080/api/topology | python -m json.tool
  12. echo.
  13. pause