I have a Controller class with the below two methods for finding a doctors (context changed). Getting the Mass Assignment: Insecure Binder Configuration (API Abuse,
i was facing same issue, then i added below code in same rest controller class:
@InitBinder public void populateCustomerRequest(WebDataBinder binder) { binder.setDisallowedFields(new String[]{}); }
now its working fine for me and mass assignment issue was fixed.