8000 Passing data from one page to another using redirect. · Issue #248 · tj/ejs · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Passing data from one page to another using redirect. #248
Open
@fahdjamy

Description

@fahdjamy

Can't pass data from one page to another

  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0