Thursday 8 June 2017

getting a not founf 404 error while trying to post in node js application

i am trying to submit a registration form in a nodejs application with all empty fields. validation should redirect me back to same page with errors. but an error page is appearing with 404 not found message. url of the page is also misleading.

http://localhost:3000/users/users/register. i dont know why two times users appear.

this is my app.js code:

my get requests works fine. only issue is with post.



via Raj Hans

No comments:

Post a Comment