
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
- Subscription problem
I want to subscribe 25$ pro plan , but its showing : "Provided payment method is no longer available."
- CORS Problem
Hello, I have the following situation. I had a website defined and deployed, deploying from github. I have accidentally deleted my github repository. I have re...
- HELP!! Can't Integrate Appwrite Function...
SO, I am new to Appwrite and I am not able to understand how to connect Appwrite Functions to my next js project. I have tried asking Gemini but it doesn't seem...
