A JWT (JSON Web Token) is an open-standards approach to securely sharing information between a client and a server in a compact, self-contained way that provides stateless authentication.
The JWT can be encrypted and/or digitally signed so the information can be passed around securely.
This API/endpoint takes the information (string) as input, and provides the JWT-encoded result (string) as output.
The output also includes a copy of the input, and a « status » value.
Status is « Ok » or « Error: … ».
Endpoint: jwt-encode
Method: POST
Sample Json input:
{ "input": "info to encode" }
Sample Json output:
{
"jwt-encoded": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJtZW51Ijp7ImlkIjoiZmlsZSIsInZhbHVlIjoiRmlsZSIsInBvcHVwIjp7Im1lbnVpdGVtIjpbeyJ2YWx1ZSI6Ik5ldyIsIm9uY2xpY2siOiJDcmVhdGVOZXdEb2MoKSJ9LHsidmFsdWUiOiJPcGVuIiwib25jbGljayI6Ik9wZW5Eb2MoKSJ9LHsidmFsdWUiOiJDbG9zZSIsIm9uY2xpY2siOiJDbG9zZURvYygpIn1dfX0sImlhdCI6MTY4Nzc4OTQwOX0.JTyWgcVbAc4rQZD5ydqQy6GNL7CcuNwq5wdexseb1_s",
"input": "content to encode",
"status": "Ok"
}
https ://hook.eu1.make.com/o5e2vux2mgmoc07wvi6ugqj8oj27bkbseven