I've been trying to do a POST with a GET at the same time but it seems it's not able to handle it.
app.route('/blog/:id/new', function (req, res) { trace(req.params); });
If I make a POST request to my url : http://website.com/blog/2/new ; it will only trace params.id = 2, not what I submitted through my form on that page. Is there anyway I can do both?
Hello,
I've been trying to do a POST with a GET at the same time but it seems it's not able to handle it.
app.route('/blog/:id/new', function (req, res) { trace(req.params); });
If I make a POST request to my url : http://website.com/blog/2/new ; it will only trace params.id = 2, not what I submitted through my form on that page. Is there anyway I can do both?