Skip to content
Back

Functions with DELETE method

  • 0
  • Databases
  • Flutter
  • Self Hosted
  • Functions
Alejandro
17 Jun, 2024, 23:39

Hello everyone, I am trying to make a function that is launched when deleting a collection, I am doing it with dart. I have an if looking for the req.method if it is equal to delete, but when I try it, the requests always arrive by post, I have tried it with the storage and it is the same, is it normal or why do they always arrive by post?

TL;DR
Developers trying to create a function to trigger on deletion of a collection using Dart are encountering issues where requests are always arriving as POST instead of DELETE as expected. This may be due to how the requests are being sent. Check the request configuration to ensure it is properly set as DELETE.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more