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
- Free plan Usage
I using a free plan with one organization. I have three projects but on the free plan I should be able to have 2 projects running But in my case only 1 out of ...
- SPA Not working
So I'm using vite/react, which is spa, and it used to work before, but now whenever I go to any route except the root it shows appwrites 404 page, instead of us...
- No permissions provided for action 'read...
I have a very weird error; In a function I'm using dynamic keys to perform read write operation in rows. I have the scopes for read and write rows. The funct...