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
- Request for JWKS Endpoint and OIDC Disco...
Hey Appwrite Team, Do you have plans to support JWKS and a well-known OIDC discovery endpoint? This would let us verify Appwrite JWTs in other services using st...
- Sites are not opening
my all sites are not opening so plz check what is the issue, when i am opening the sites showing an error like, Access to XMLHttpRequest at 'https://cloud.appw...
- How does sending email from the Appwrite...
I noticed that the pricing page mentions “Messages – 1000 per month” for the Free plan. Is this different from sending emails? When I try to send an email usin...