According to the documentation, the req object should have the following properties:
req.bodyText Returns text that has been converted from binary data.
req.bodyJson Parses the body text as JSON.
req.bodyBinary Returns the binary body.
However, when I log the $context->req object, I only see the bodyBinary property. The bodyText and bodyJson properties are not present.
Does this mean that the request body will only contain one of these three options?
Recommended threads
- router_deployment_not_found
I updated my function a few times and now i am getting the error: router_deployment_not_found I even reverted back to my original code but i am still getting th...
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- [Beginner] CLI --queries Syntax Error & ...
Hi everyone! I am a beginner with Appwrite and trying to use the CLI, but I'm stuck with a syntax error. Any guidance would be greatly appreciated! 🙏 **Enviro...