license-server/test_api_generate.sh

7 lines
204 B
Bash

curl -X POST http://localhost:13579/api/license/generate \
-H "Content-Type: application/json" \
-d '{
"machine_id": "ABCDEF123456",
"expiry": "2026-12-31",
"features": ["gpu", "ocr"]
}'