[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
- Origin error after changing default port...
Hi! I need some help regarding an issue Iβm facing with Appwrite after changing the default ports. I have a self-hosted Appwrite instance running on my VPS. I ...
- Opened my website after long time and Ba...
I built a website around a year back and and used appwrite for making the backend. At that time the website was working fine but now when i open it the images a...
- custom requirements.txt file
How do I specify a custom requirements.txt file when creating a serverless function through the Appwrite console?
