I have a form on an Angular2 webpage.
When I hit submit on the form, I'd like the equivalent of <form action="<external-site>" method="post".....> to happen.
That is, the action script for the form is on another website, and I'd like to just post the form to that website. And to then be on that external site.
I'm beating my head against a brick wall on this; the Submit button appears to have been taken over by Angular, so just hitting Submit does nothing. I know how to do this when I need to handle the data asynchronously, but not when I want to just move to that external site.
I don't need any fancy Angular validation, etc, just to post the form to the external site, and then be on that site.
I've been reading and googling, and the only suggestion offered appears to be doing a
http.post, then subscribing to the promise, then redirecting. But how does that redirect handle the data I want to submit with the form?
Any pointers welcome, thanks.