My object is info
info
Date: ""
ids: Array[1]
__proto__: Object
It has all the values and I send it in angular.
On the java side if the input parameter is like
public ResponseEntity<Boolean> update(@RequestBody myObject input) {...}
I get an error: 400 (Bad Request)
HTTP Status 400 -
type Status report
message
description The request sent by the client was syntactically incorrect.
But if in the api I do
public ResponseEntity<Boolean> update(@RequestBody String input) {...}
It works fine! what is wrong with it? myObject does have only
String Date;
String[] ids;