RESTMessageV2 - execute() Send the REST message to the endpoint. Table 1. Parameters Name Type Description None Table 2. Returns Type Description RESTResponse The response returned by the REST provider. var sm = new sn_ws.RESTMessageV2("Yahoo Finance","get"); //Might throw exception if message doesn't exist or not visible due to scope. var response = sm.execute(); //Might throw exception if http connection timed out or some issue with sending request itself because of encryption/decryption of password.