All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Hi,
how can one invoke a Cloud Function from within another Cloud Function?
"Everlive.Sdk.$.businessLogic.invokeCloudFunction(cloudFunctionName, params).then(function (data) });" does not seem to work.
Thanks,
Alexej
Everlive.CloudFunction.onRequest(
function
(request, response, done){
var
requestOptions = {
method:
'GET'
,
url:
'https://api.everlive.com/v1/{app-id}/functions/{function-name}[?parameter1=value1¶meter2=value2&...parameterN=valueN]'
options:
null
};
console.log(Everlive.version);
Everlive.Http.request(requestOptions.method, requestOptions.url, requestOptions.options,
(error, success){
if
(error) {
console.log(JSON.stringify(error));
}
else
{
console.log(JSON.stringify(success));
done();
});