In my spring boot REST API application, I need to handle HTTP POST by accepting a strongly-typed list as my input:
@RestController
public class CusttableControll
For me I had made a typo accidentally wrapping a class in a list. Removing the typo allowed serialization to happen correctly via spring data rest + jackson.
List<MyClass> a; // typo
MyClass = a;// fix
Try to add RequestBody annotation to your method definition
@RequestMapping(value="/custtable/update", method=RequestMethod.POST)
@ResponseBody
public String updateCusttableRecords(@RequestBody List<Custtable> customers) {
//Method body
}