title: GET method with list of paramethers as body or POST method?
body: <p>I need to create an endpoint which will provide a list of objects, I need to pass as request body list of ID's of objects I want to retrieve. As far I know this should be done by GET method since it's only retrieving the object and not modifying them, but when I want to call it from client side using <code>RestTemplate</code>, it does not have any method for <code>GET</code> to pass body. However, this is achievable with <code>POST</code> method. Should I use <code>POST</code> instead of <code>GET</code> or is there another solution?</p>
  
  <p>EDIT: for everyone with the simmilar problem, this thread helps a lot:</p>
  
  <p><a href="https://stackoverflow.com/questions/978061/http-get-with-request-body?rq=1">HTTP GET with request body</a></p>