My webAPI solution currently works if I send one id to the delete endpoint:
DELETE /api/object/1
Via:
[HttpDelete] public HttpResponseMessage DeleteFolder(int id) {
In my client application, I have a user interface that allows you to perform several deletions - right now it just calls this endpoint in a loop for each of the selected identifiers, which is not super efficient. I would like to be able to send an array of identifiers to the Delete method in this case ... how can this be achieved?
source share