I'm developing a JavaScript web app, and I'm trying to make a "forgot password" feature. I know how to make a function on the server-side, in the Cloud code with Parse function. But what I can't do is pass the object from my controller (in the front-end side). By the way, I'm using ember.js.
I've tried to save ("user.save()") the object (even without changing anything) and then calling Parse.Cloud.AfterSave("user",(request){..}), but I was getting a error. How can I pass an object to the Cloud code?