}, function(error) { console.log(error) }); User.save({id: 1}, {first_name: “Giovanni”}) .$then(function(response) { console.log(response) }, function(error) { console.log(error) }); query, get, new, create, edit, update, delete 7 default action, can be added if necessary