getTokenFromEndpoint

getTokenFromEndpoint(url:      String;
                     postData: String): String typeMethod;

The getTokenFromEndpoint method of the JadeJsonWebToken class sends a REST request to the endpoint Uniform Resource Locator (URL) specified in the url parameter with the POST request specified in the postData parameter, if required.

This method returns a JSON Web Token in the response if it is provided in the body of the specified endpoint; otherwise it returns null.

2020.0.01 and higher