dimanche 9 avril 2017

User Signup using EmberJS

How would I go about sending the data for user signup to the backend server?

I know of the way to use ember models to post the data to the backend but that would store the password and password_confirmation in plain text and that sounds likes a security risk waiting to happen.

Currently using a Rails 5 backend that accepts three fields email, password, and password_confirmation. I know I need to send the data in a POST request but I'm not sure how to do that.

If anyone could tell me the proper way of doing this or pointing me to some hidden article I couldn't find that'd be great.




Aucun commentaire:

Enregistrer un commentaire