1
0
Fork 0
mirror of synced 2024-06-26 18:20:43 +12:00
appwrite/docs/examples/0.10.x/client-web/examples/functions/create-execution.md
2021-09-02 10:04:48 +03:00

351 B

let sdk = new Appwrite();

sdk .setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ;

let promise = sdk.functions.createExecution('[FUNCTION_ID]');

promise.then(function (response) { console.log(response); // Success }, function (error) { console.log(error); // Failure });