Appearance
Authentication
ApiKeyAuth
Steps:
- Prepare:
$APP_NAME,$API_KEY, and capture a timestamp$TS. - Concatenate an input string for MD5:
$INPUT=$APP_NAME(lowercase) +$API_KEY+$TS - Calculate MD5:
$TOKEN= md5($INPUT) (all ). - Set the
$TOKENto "x-auth-token" HTTP header. - Set the
$APP_NAMEto "x-auth-name" HTTP header. - Set the timestamp (
$TS) to "x-auth-seed" HTTP header.
Note: the $TS value should be a UNIX timestamp (13-digit, milisecond).