Check out example codes for "postmapping mulitple params same name in spring boot". It will help you in understanding the concepts better.

Code Example 1

@RequestMapping(value="/params", method = RequestMethod.GET)
public ResponseEntity getParams(@RequestParam Map<String, String> params ) {

   System.out.println(params.keySet());
   System.out.println(params.values());

   return new ResponseEntity<String>("ok", HttpStatus.OK);
}

Learn ReactJs, React Native from akashmittal.com