You can't send a request body with an HTTP GET request. You should modify your call so that it only supports POST, and POST your JSON to that endpoint.
If you want to GET information about a bean, you should create a separate controller method that does that (and does not require a request body).
Also, double-check your endpoint definitions in the $.ajax call.
Comments
Post a Comment