appwrite/docs/examples/1.5.x/server-dotnet/examples/functions/create-execution.md
2024-02-27 21:12:00 +13:00

607 B

using Appwrite; using Appwrite.Enums; using Appwrite.Models; using Appwrite.Services;

Client client = new Client() .SetEndPoint("https://cloud.appwrite.io/v1") // Your API Endpoint .SetProject("5df5acd0d48c2") // Your project ID .SetSession(""); // The user session to authenticate with

Functions functions = new Functions(client);

Execution result = await functions.CreateExecution( functionId: "<FUNCTION_ID>", body: "", // optional async: false, // optional path: "", // optional method: ExecutionMethod.GET, // optional headers: [object] // optional );