You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
backend-duoji-monitor/test_ksec.cmd

18 lines
501 B
Batchfile

@echo off
chcp 65001 >nul
echo ===== 测试 KSEC 接口 =====
echo 目标: http://10.100.81.10:8000/ksecwcs/tinventoryinfo
echo.
curl -v -X POST "http://10.100.81.10:8000/ksecwcs/tinventoryinfo" ^
-H "Content-Type: application/json" ^
-H "User-Agent: Mozilla/5.0" ^
--connect-timeout 5 ^
--max-time 10 ^
-d "{\"code\":200,\"msg\":\"图像识别完成\",\"data\":{\"trayCode\":\"75759\",\"wmsTrayCode\":\"75759\",\"flag\":1,\"count\":null}}"
echo.
echo.
echo ===== 测试完成 =====
pause