Thanks for sharing!

Just curious, I don't understand the need for

https://github.com/ZafarSaeedKhan/Simple_CRUD_App_Node.js/blob/master/routes/SaveRecord.js#L5
var input = JSON.parse(JSON.stringify(req.body));

Why not using req.body directly? security reason?

At
https://github.com/expressjs/body-parser
they are using req.body.username, directly

Angel "Java" Lopez
@ajlopez


On Sun, Feb 15, 2015 at 6:28 PM, Zafar Saeed Khan <[email protected]>
wrote:

> here is the repo of my project at Git
> https://github.com/ZafarSaeedKhan/Simple_CRUD_App_Node.js.git
> Do practice and have fun
>
> --
> Job board: http://jobs.nodejs.org/
> New group rules:
> https://gist.github.com/othiym23/9886289#file-moderation-policy-md
> Old group rules:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/nodejs/d6698347-d13f-498c-9091-0b8ebe68be7c%40googlegroups.com
> <https://groups.google.com/d/msgid/nodejs/d6698347-d13f-498c-9091-0b8ebe68be7c%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/CAMs%2BDqKa1JLNJaQSNwTgrm9o4ux0LaVpXsmsWNtavROxOFLJRA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to