@echo off
echo Stopping local server...
curl -s -X POST http://127.0.0.1:5000/api/shutdown >nul 2>&1
if %ERRORLEVEL% EQU 0 (
  echo Server stop request sent.
) else (
  echo Failed to send stop request.
)
