This commit is contained in:
parent
51b82e0338
commit
ca6475609b
|
|
@ -0,0 +1,7 @@
|
||||||
|
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"]
|
||||||
|
}'
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
curl -X POST http://localhost:13579/api/license/activate \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
-d '{
|
||||||
|
"payload": "xxx",
|
||||||
|
"signature": "yyy"
|
||||||
|
}'
|
||||||
|
|
@ -0,0 +1,6 @@
|
||||||
|
curl -X POST http://localhost:13579/api/license/validate \
|
||||||
|
-H "Content-Type: application/json" \
|
||||||
|
-d '{
|
||||||
|
"payload": "xxx",
|
||||||
|
"signature": "yyy"
|
||||||
|
}'
|
||||||
Loading…
Reference in New Issue