Send Current Date/Time from BAT file in Windows

This is an example of sending the current date and time from a Windows machine. It is almost identical to the "Hello World" example, but instead of sending a static value, it sends the current date and time.
@echo off
setlocal enabledelayedexpansion
rem === Set your API_KEY below ==========================
set API_KEY=933jpw1TEtPscRQRoLvrpE
rem =====================================================

for /f "usebackq tokens=* delims=" %%A in (`curl -s https://u00.io/view_url_by_api_key/%API_KEY%`) do set VIEW_URL=%%A
echo =====================================================
echo View URL:
echo %VIEW_URL%
echo =====================================================
echo Press Ctrl+C to stop sending data.
echo.

:loop
rem Get current time in HH:MM:SS format
for /f "tokens=1-3 delims=:." %%H in ("%time%") do (
    set H=%%H
    set M=%%I
    set S=%%J
)
set VALUE=Time From BAT-file: !H!-!M!-!S!

echo Sending time: !VALUE!
rem curl -s "https://u00.io/set/%API_KEY%?v=!VALUE!" >nul
curl -s -X POST "https://u00.io/set/%API_KEY%" -d "v=!VALUE!" >nul

timeout /t 1 >nul
goto loop