Answer the question
In order to leave comments, you need to log in
How to remove selected items in firebase using fetch api?
Hello ! How can I delete some emails via fetch request? in firebase? For me, the problem is that I do not understand what exactly I should specify in the fetch body
method delete
. I get the data that I need through get , and then I make an array out of them, and the output is this:
["test 1 ", "test 2 ", "test 3 ", "test 4 ", "test 5 ", "test 6", "test 7 ", "test 8"]
Then, through post, I add more elements there. How can I selectively delete from there, for example, 1,4,5 emails. array? The data structure in firebase is like this:
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question