welcome lembas.
i got what you meant.
you must issue a POST request, and the url must be the folder containing the file.
the posted data must be
action: delete
selection: file1
selection: file2
selection: file3
as you can see, the name selection is repeated for every file.
i think you can also use / as URL and specify the whole path to the file.