
Hi, I'm trying to execute a function using CURL, which is working fine, but I can't figure out how to pass req.payload data.
I have tried with -d '{"payload": {"Key":"Value"}}' but then my function can't find Key. I have already tested my function manually using the webui and it's working, so it should be something with the format I need when passing data using curl.

Please see https://appwrite.io/docs/client/functions?sdk=rest-default#functionsCreateExecution
create execution has a data
parameter that expects a string

Thank you, that worked!

[SOLVED] REST API curl example

[SOLVED] REST API curl example for Function Create Execution
Recommended threads
- Adding custom domain to Appwrite project
My app is hosted on Vercel on domain todo.velleb.com. On PC, the OAuth logins like GitHub, Discord and Google work and create the account and log in. On mobile ...
- Appwrite CLI
I try to deploy a function using Appwrite CLI but it says: `appwrite functions createDeployment ^ --functionId=xyz^ --code="." ^ --activate error: u...
- #support
<#1072905050399191082> any help on that?
