Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Paste code macro
languagejson
titleRequest Example
{
  "usernameuser_name": <user_name>,
  "password": <Base64Password>
}

...

Paste code macro
languagejson
titleResponse sample
{
   "user_id": <int>,
   "user_name": <string>,
   "token_key": <string>,
   "expiry_date": <dateTime - ISO 8601 format>
}

Password

The password needs to be converted to Base64 with ASCII encoding to get the bytes[] from the password string.

...