[Solved] An example of uploading a Appwrite Cloud Function via the server Node.js SDK?
- 0
- Self Hosted
- Functions
Does anyone have a simple example of how I can create a new function AND pass the code I want it to run?
I'm a bit confused by this because the functions.create() method doesn't seem to have an argument for passing a JS file... Or like, a string of the code or something like that.
Or is this only possible via the CLI and the Cloud interface?
Wow nvm I found it
Marking resolved
[Solved] An example of uploading a Appwrite Cloud Function via the server Node.js SDK?
Thanks a lot :)! This helped me out.
Glad to hear 🙂
Recommended threads
- delete cancelled site deployment
I would like to remove a cancelled site deployment, but the site menu shows only "Redeploy".
- How Can I Create landing page in appwrit...
I created function called invoice URL https://app.getrestt.com/v1/functions/invoice/executions?id=test-76f948fe83c43422561fe096c0674a1bd3ff0702cdfcf2444293ab31...
- Self-host migration from 1.8.X
Is it safe to now migrate from 1.7.4 to 1.8.X on my selfhost?