
I had to do this sort of code to get to the keys and the value of the body. Is this completely normal? body = context.req.body_raw match = re.match(r"{\s*(\w+):\s*(\w+)\s*}", body)
Body or body row is not a json, How did you plan to reach the keys?
The documentation doesn't help
thanks for the help

What is body_raw and how are you executing the function?

I just found a usage example here: https://appwrite.io/docs/functions-examples
I'll try to see if it works

You can check more information about the req
var here: https://appwrite.io/docs/functions-develop#request

you should use req.body
instead of req.bodyRaw
Recommended threads
- Hola equipo de soporte,
Hola equipo de soporte, Estoy desarrollando una Function en Appwrite Cloud con Node.js 22 y el siguiente package.json: { "name": "upload-whitelist", "type"...
- Function running in cloud but not locall...
Hi everyone, I have an appwrite function which is on python3.12 runtime. I have a library (hnswlib) which builds wheels during installation. This works on appwr...
- Permissions for bulk operation
Hi team, I have a question: “In the databases.createDocuments bulk API, can I set document-level permissions? If yes, how exactly should I include the permissio...
