#what shoud i give in the app write path for execution my Custom body??
17 messages · Page 1 of 1 (latest)
What does your code look like and what are you trying to achieve?
Also, you need to create a deployment
Please follow this: https://appwrite.io/docs/products/functions
appwrite login
appwrite init project
appwrite init function
appwrite deploy function
alraedy i have run all these commands
You would only need a path if within the function you are handling those paths. If your logic is just in the root, no path is required.
Yeah but there's also no deployment
so the execute will do nothing
should i coonect with sdk from cli
Sure :P But that wasn't the question teehee
haha
Honestly, make a git repo and connect it, it's the best way and it auto-builds on each commit
personal opinion*
ok i will try it ,but after running all these commands what other things i need to do for execution the function
That realistically should be all you need, appwrite deploy function should deploy the function to cloud and trigger a build.
If you connect it via git, just go to the function url, it auto-executes
or use the path /, but that depends on your code, looking at yours it seems you don't have any paths, so / is fine