diff --git a/verify_api_generate.sh b/verify_api_generate.sh new file mode 100644 index 0000000..b302386 --- /dev/null +++ b/verify_api_generate.sh @@ -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"] + }' \ No newline at end of file diff --git a/verify_api_validate.sh b/verify_api_validate.sh new file mode 100644 index 0000000..808485b --- /dev/null +++ b/verify_api_validate.sh @@ -0,0 +1,6 @@ +curl -X POST http://localhost:13579/api/license/activate \ + -H "Content-Type: application/json" \ + -d '{ + "payload": "xxx", + "signature": "yyy" + }' \ No newline at end of file diff --git a/verify_api_verify.sh b/verify_api_verify.sh new file mode 100644 index 0000000..f010c2b --- /dev/null +++ b/verify_api_verify.sh @@ -0,0 +1,6 @@ +curl -X POST http://localhost:13579/api/license/validate \ + -H "Content-Type: application/json" \ + -d '{ + "payload": "xxx", + "signature": "yyy" + }'