How send two objects, for method post angular in General Posted June 20, 2019 Hi guys, I need help to send two objects to the 'post' method in the angular example: this.generateSerial = function ( items, deposit ) { return this.endpoint.subRoute( 'createSerialBox' ).post( items, {offline: '', params: {'deposit': deposit}}).then(angular.bind( this, function ( response ) { return $q.when(response.data); }) ) } item is a list and you deposit an object That way I get the error 12616 Thanks,
How send two objects, for method post angular
in General
Posted
Hi guys,
I need help to send two objects to the 'post' method in the angular example:
this.generateSerial = function ( items, deposit ) {
return this.endpoint.subRoute( 'createSerialBox' ).post( items, {offline: '', params: {'deposit': deposit}}).then(angular.bind( this, function ( response ) {
return $q.when(response.data);
})
)
}
item is a list and you deposit an object
That way I get the error 12616
Thanks,