I have tried res.json(); as well still it could not recognize the json
with res.json()
Try making the first line
module.exports = async function ({req, res}) {
yep that worked thanks a lot
[SOLVED] Appwrite function not accepting res.empty() as response
also @ideclon how to show a log in cloud function if I wish to
Add log to the list of arguments passed into the function, and then you can use log()
Recommended threads
- Function's Static IP
Is it possible to have static. IP Address instead of Dynamic IP for getting the IP Address whitelist
- How to use dart workspaces to deploy a f...
Hello, I'm developing a Flutter application and I would like to leverage dart pub workspaces to deploy a function with a dart runtime as advertised here : http...
- [SOLVED] Unable to push function from AP...
When trying to push functions from Gitlab CI (with an API KEY and using the CLI), i saw that i was unable to push functions. ``` $ appwrite client --endpoint $...