So che nel SDK iOS posso farlo in questo modoCome chiamare una funzione di codice nuvola con parametri utilizzando il JavaScript SDK
[PFCloud callFunctionInBackground:@"email" withParameters:@{@"param1": @"quantity1, @"param2": @"quantity2} block:^(NSString *result, NSError *error) {
if (error) {
//error
} else {
// make sure the set the email sent flag on the object
NSLog(@"result :%@", result);
}
}];
ma come farei questo con una funzione JavaScript