How to correctly call my Appwrite function when deleting an innocap in my app?
- 1
- Android
- Functions
- Flutter
- Self Hosted
'm working on connecting my backend with the frontend of my app, and I need to replace an existing function with my Appwrite function called deleteInnocap in the appwrite_client.dart file. I want this function to be triggered when I delete an innocap in my app. However, I'm encountering issues when calling the PHP function. Can someone guide me on how to correctly call the deleteInnocap PHP function in appwrite_client.dart so that it gets executed when I delete an innocap in my app?
If you want your function to trigger on document creation, you wouldn't be executing it from your client app. In your function settings, there's a section for events. There, you'd specify you want the function to trigger on document delete
Recommended threads
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...