samedi 14 février 2015

Exporting users input in node.js


Okay i am attempting to make an app where the user can input text and it will display on the following page. My question is am i using the correct logic to make this happen. currently all of my code works (generating the text box and such) until i uncomment this section.



create: function(req, res) {
//save a new comment
};


My question is, does create: actually exist or do i need to use something new. My command prompt says unexpected identifier.


Any ehlp would be appreciated! Thanks!





Aucun commentaire:

Enregistrer un commentaire