![](https://cdn.discordapp.com/embed/avatars/4.png)
I am trying to transfer data from the Front-End (Flutter) to AppWrite function with dart 3.1 runtime I have previously managed to do it with Node.js, but in Dart it is not working form me.
This is an example of front End Code
Future<Map<String, dynamic>> runFunctionExecution( ) async { var funcRes = await functions.createExecution( functionId: FunctionId, body: jsonEncode({ "headers": "The Headers for test", "body": "The body for test ", }), );
This is the function I am deploying to AppWrite
Future main(final context) async { context.log(jsonEncode(context.req.body)); context.log(jsonEncode(context.req.payload)); }
It is deploying successfully and log shows the result , but cannot see my data sent from the front-end.
I am definitely missing something in reading the req data Tried every possible thing I could think of, no luck
Recommended threads
- Private identifiers are only available w...
Hello folks, hope you all doing fine. Have any of you faced the error below? ```sh node_modules/node-appwrite/dist/id.d.ts:2:5 - error TS18028: Private iden...
- Google Oauth: missing redirect url, appw...
I am doing Google Oauth in flutter app using Appwrite My appwrite is selfhosted running locally on my laptop in a docker container. I had my reasons to tunnel...
- Hi all, can someone help me with 2FA imp...
I am in need of help with implementation of 2FA method in my project.
![](/images/bgs/pre-footer.png)