title: Spring boot delete mapping array as paramater
body: <p>I have the following controller method to get array of ids and then remove but what I send from react does not caught here.</p>
  
  <pre><code>@DeleteMapping({"delete-user"})
  public GenericResponse deleteUser(@RequestBody String[] ids, Errors errors) {
      if (errors.hasErrors())
          throw new ParseException();
      return userService.delete(Arrays.asList(ids));
  }
  </code></pre>
  
  <p>React request snippet</p>
  
  <pre><code>yield call(userDeleteService, payload.ids)
  </code></pre>
  
  <p>What payload is</p>
  
  <pre><code>callback: undefined
  ids: Array(1)
      0: "08ddc3f3-9df3-463f-8d95-25a4633f24b7"
  length: 1
  </code></pre>
  
  <p>This is the request that is sent from react side.</p>
  
  <pre><code>http://localhost:8080/user/delete-user?0=08ddc3f3-9df3-463f-8d95-25a4633f24b7&amp;1=11036b08-8daa-44ef-a557-9723f20b8911&amp;
  </code></pre>