Authorization
Token Creation
<?php
$username = 'YOUR_USERNAME'; // Set your username
$password = 'YOUR_PASSWORD'; // Set your password
$token = base64_encode("$username:$password");
// Use $token in the API call as Authorization
echo $token;
?>import base64
username = 'YOUR_USERNAME' # Set your username
password = 'YOUR_PASSWORD' # Set your password
token = base64.b64encode(f'{username}:{password}'.encode()).decode()
# Use the token in the API call as Authorization
print(token)const btoa = require('btoa');
const username = 'YOUR_USERNAME'; // Set your username
const password = 'YOUR_PASSWORD'; // Set your password
const token = btoa(`${username}:${password}`);
// Use the token in the API call as Authorization
console.log(token);Check Auth Validation
Name
Value
Last updated