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
- getting 429 rate limit on my appwrite de...
how to fix this issue ?
- type generation on same columns in table
is there way to prevent this ? or only need to update column name like table prefix?
- Unable to send verification email
Hi! I’m trying to access my project on Appwrite Cloud (fra.cloud.appwrite.io), but I keep getting this popup saying: “To continue using Appwrite Cloud, please...