Get All Put parameters

Hello. I need some help handling this situation. Currently i am receiving an array with some ids in it. I am using Post Man to test requests and using an url encoded with multiple id from an array. My test is key => value, $key => value. I suppose that when the request is sent, it looks like "URL?id=1&id=2". But when i print $this->request->getPut(), it only shows the last id because the key is the same ("id"). How can i solve this? It is a good practice to use PUT with an array in request? (sorry for bad english).

Best regards

this->dispatcher->getParams();