I need to prepare ASP.NET site with form, fill form in code behind and then submit form to external site.
For example: user open www.myshop.com/pay.aspx, he does not have to fill anything because I fill form values in code behind and then user is automatically redirected to external site www.onlinepayments.com (with form data sent in POST).
I am able to make it work with regular hidden form and javascript that submits form but I dont like this way (user can see html).
So I use WebRequest class in code behind like in this answer: How do you programmatically fill in a form and 'POST' a web page?
However in this answer Response is string (target site html). What can I do with this string? I want my user see target site (conent and URL) like it would happen with regular html POST.