Home > database >  Unable to post using React Form to backend running on nodeJS
Unable to post using React Form to backend running on nodeJS

Time:06-01

xhr.js:220 POST http://localhost:5000/posts 404 (Not Found)

posts.js:21 Request failed with status code 404

CodePudding user response:

Have you tested this with Postman before posting with React application?

CodePudding user response:

You need to start your nodeJS server, your endpoint is not working "http://localhost:5000/post"

  • Related