
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
- custom requirements.txt file
How do I specify a custom requirements.txt file when creating a serverless function through the Appwrite console?
- Is my approach for deleting registered u...
A few weeks ago, I was advised not to use the registered users' id in my web app. Instead, I store the publicly viewable information such as username and email ...
- ❗[Help] Function stuck in "waiting" stat...
Hi Appwrite team 👋 I'm trying to contribute to Appwrite and followed the official setup instructions from the CONTRIBUTING.md guide to run the platform locall...
