Closed GoogleCodeExporter closed 9 years ago
It is working for me. What kind of data you sending? What is payload encoding
and payload itself?
I modified your code in lines:
app.post("/users", function(req, res){
console.log("POST USERNAME: " + req.body.username );
res.send("creating user with name" + req.body.username + ".");
});
See attached screenshot for results.
Original comment by jarro...@gmail.com
on 19 Jan 2013 at 11:24
Attachments:
Thanks, I have released my error. I wasnt putting HTTP:// before the route.
Sincerely A
appologise
Original comment by a8025...@gmail.com
on 20 Jan 2013 at 8:01
That's alright.
Happy coding :)
Original comment by jarro...@gmail.com
on 20 Jan 2013 at 10:08
Original issue reported on code.google.com by
a8025...@gmail.com
on 19 Jan 2013 at 10:08