
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
- fix ip function for whitelisting
Hello, any recommendation how to make IP of Appwrite Function on cloud is fixed for whitelisting purpose?
- [SOLVED] Access ExecutionStatus of a fun...
I am calling a cloud function from the newest Flutter SDK 20.2.1with the `xasync: false` flag and get the result, but the `execution.status` is not a String and...
- What’s the current approach for always o...
Read that it’s not a thing out of the box, but what’s the possible setup here?
