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 domain not available
Hello, even tho in docs you clearly describe that every function has its domain, I can not see it anywhere in any of my projects. How do I reveal the url of th...
- Inquiry: How to Reduce Cold Start Durati...
Hey! I was using Python for the function runtime, but after reading that Go has the fastest runtime, I switched my code over to Go. However, I'm still seeing co...
- After a GET request is passed to functio...
Create execution in the console can normally retrieve the get parameters。WHy?