Token Request

In order to request a Token you must follow this procedure:

  1. Within a POST call, type in these parameters:
    • “username”: The username delivered to you in order to access the platform
    • “key”: The public key
  2. Send the call by using the POST to the following URL: “http://URL_PIATTAFORMA/z/dmkapi/get-token”.
  3. Decipher the answer using the AES-256-CBC algorithm and the private key: This represents the Token, which you will have to provide with the request.

The algorithm doesn’t require any IV, because you will have to provide the Token within the request, which represents a different keystream for the same key.

The private key that you will receive will be 32 characters long.