Basically what will happen is my angular page will make a post request to my express/node js application.
I want express on receiving that post request from angular to redirect to an other URL and also along with redirecting, want to POST data to that web page.
How will I use res.redirect("")
in node js to also post some data.
Node js Code:
app.post('/ur-book',function(req,res){
var data=...;
res.redirect('/abcd');
});
I want to post data on /abcd and redirect to it.
other url will not be in my node app. It will be on a different website.