Rank 3: Container
I am working on a web app where users can create lists. I perform a bunch of validation server side with functions and currently I do this as follows
- Write user request to a request collection
- Collection triggers a function
- Function validates and writes to user lists collection
- User gets realtime update from user lists collection
- App updates
I want to move away from database triggering functions to making a POST request to the function directly. The examples on appwrite documentation shows server side code but not client side code (working with flutter). How am I supposed to make such a request ?
Create a function execution request ? If so how is user supposed to get response data once execution completes ?