I have an array of id's whihc i want to append to a delete request. How should i append the params to the url request?
var deleteArray = ['1', '5', '6'];
if i want to send a request in this format http://localhost/xxx/employees?ids=1&ids=5&ids=6 for delete
How do i parse the array contents to build the ids=1&ids=5&ids=6 for the request url for delete?
My concern is the "&" , how could i append "& and build the string for the url request in javascript