
I created a cloud function and used the generated url as callback URL so that the function will be triggered each time I need a response from a third party API but I wasn't able to fetch the data it was sending to my function (what I used as the call back url) despite using both context.body
and context.rawBody
for dart.

should be context.req.body
.


Future<dynamic> main(final context) async {
final bodyRaw = context.req.bodyRaw;
final body = json.encode(context.req.body);
return context.res.send("OK", 200);
}
Recommended threads
- Is Quick Start for function creation wor...
I am trying to create a Node.js function using the Quick Start feature. It fails and tells me that it could not locate the package.json file. Isn't Quick Start ...
- Connecting server functions to GitHub re...
The project I am working in has recently moved organizations on Appwrite. The same is true for the repo on GitHub, which as moved from a private user to a organ...
- Missing C++ libstdc library in Python fu...
I have a function running Python 3.12 which suddenly started dumping errors (as of today; it worked yesterday). I hadn't changed any code so I found this odd, b...
