We cannot pass multiple json object to spring REST (@RequestBody). But you can
pass the single object by pushing all of your required objects within it.
Ex.
class MainObject{
private ManagerObj managerObj;
private EmpObj empObj;
}
Here the main object contains the required objects which is going to pass.
In angular:-
var MainObject = {managerObj:{},empObj:{}};
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.