Changes createExecution to send and parse multipart data
Code example 👇
<?php
use Appwrite\Client;
use Appwrite\Payload;
use Appwrite\Services\Functions;
$client = (new Client())
->setEndpoint('https://cloud.appwrite.io/v1') // Your API Endpoint
->setProject('<YOUR_PROJECT_ID>') // Your project ID
->setSession(''); // The user session to authenticate with
$functions = new Functions($client);
$result = $functions->createExecution(
functionId: '<FUNCTION_ID>',
body: Payload::fromJson([]), // optional
async: false, // optional
path: '<PATH>', // optional
method: ExecutionMethod::GET(), // optional
headers: '', // optional
scheduledAt: '' // optional
);
What does this PR do?
Changes
createExecution
to send and parse multipart dataCode example 👇
Test Plan