I am working on a project with a node backend. I created an HTML form to register users that posts to a URL ('/users') and receive JSON data of the created user. The problem is that when I submit my form it redirects me to view the returned JSON data but I don't want to display the JSON data instead I want to redirect it to my login page.
Submitted November 02, 2019 at 06:34AM by IntelligentRip6
No comments:
Post a Comment