title: DELETE in Spring RestTemplate with HttpEntity<List>
body: <p>I don't know why my code is not working, I've tried with Postman and works fine: </p>
  
  <p><a href="https://i.stack.imgur.com/hXb4Y.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hXb4Y.png" alt="WORKS FINE"></a></p>
  
  <p>But with <code>RestTemplate</code> I can´t get a response while it´s using the same endpoint... .</p>
  
  <pre><code>ResponseEntity&lt;String&gt; responseMS  = template.exchange(notificationRestService, HttpMethod.DELETE, new HttpEntity&lt;NotificationRestDTO[]&gt;(arrNotif), String.class);
  </code></pre>
  
  <p>I've tried with <code>List</code> instead <code>Array[]</code></p>
  
  <p>When i made a <code>PUT</code> request it´s works fine but with one object: </p>
  
  <pre><code>ResponseEntity&lt;String&gt; responseMS = template.exchange(notificationRestService, HttpMethod.PUT, new HttpEntity&lt;NotificationRestDTO&gt;(notificationDTO), String.class);
  </code></pre>
  
  <p>Any help?? Thanks!! </p>