AlejandroOriginal post
Web Developer
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?
Summary
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.