Plesk

Get License Key Info Request – Examples

Correct request:

POST /handler.php HTTP/1.1
Accept: */*
Content-Type: application/x-www-form-urlencoded
Host: isv.endpoint.example.org
Authorization: Basic am9objpxd2UxMjM=
APS_PROTOCOL_MODEL=3&APS_ACTION=GET-INFO&APS_TEST_MODE=N&PURCHASE_ID=12345678&PRODUCT_ID=someproduct1&REG_NAME=54321

Successful response with “key info” in the response body:

HTTP/1.1 200 OK
Date: Thu, 01 Sep 2016 15:02:10 GMT
Server: Web Server
Content-Type: application/json; charset=UTF8
{
  "version": "isv-reportable-1",
  "usage":
  {
    "usedAccounts" : 20,
    "usedClusters" : 4
  }
}

The correct response must meet the following requirements:

Exit mobile version