.set('Authorization', 'Bearer ' + authToken) code example
Example 1: bearer token header
Authorization: Bearer <token>
Example 2: generate bearer token
HMACSHA256(
base64UrlEncode(header) + "." +
base64UrlEncode(payload),
) secret base64 encoded