You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to be able to remain on the same page using with the same URL and but submit and data to a different API endpoint and when it is success full the page should re-render with updated information but now changing the URL.
Desired Behaviors:
I am on the page with URL http://localhost:3010/settings and I am making a POST request to back-end API URL http://localhost:3010/api/settings. When I use res.render my page's URL changes to http://localhost:3010/api/settings which I don't want, I want to stay on the same page but have updated data for my page with URL http://localhost:3010/settings
The text was updated successfully, but these errors were encountered:
Can't pass data from one page to another
Desired Behaviors:
I am on the page with URL
http://localhost:3010/settings
and I am making a POST request to back-end API URLhttp://localhost:3010/api/settings
. When I use res.render my page's URL changes tohttp://localhost:3010/api/settings
which I don't want, I want to stay on the same page but have updated data for my page with URLhttp://localhost:3010/settings
The text was updated successfully, but these errors were encountered: