Proxy to execute an Appwrite Function.
- Transforms generic requests to create an Appwrite Function Execution.
- One proxy can be used to execute any project's function for the configured Appwrite instance
- Deploy using a button 👆
- Configure the following environment variables:
APPWRITE_ENDPOINT
: Appwrite endpointAPPWRITE_PROJECTS
: comma separated project IDs to allow using this proxy
To proxy your request to Appwrite, send a POST
request to https://[DOMAIN]/api/projects/{project_id}/functions/{function_id}/executions
with:
- your Appwrite API Key as the Authorization Bearer token for authentication
- your data as the request body
curl -X POST https://$DOMAIN/projects/$PROJECT_ID/functions/$FUNCTION_ID/executions \
-H "Authorization: Bearer $APPWRITE_API_KEY" \
-d '{"x": 1}'