in res.json or res.text is the status parameter a string or Number or some unique token in functions runtime
TL;DR
The user is asking about the data type of the 'status' parameter in the res.json or res.text functions in Appwrite. They are unsure if it should be a string, number, or some unique token. A solution is not provided in the thread.Cound not find anything in the documentation
seems like integer
I would advise against sending a value for that right now. It can cause problems
In any case the status you're setting is only between the function and Appwrite executor.
And, then, Appwrite's adding to the execution object. But the response from Appwrite will always be 200.
Recommended threads