Response.Redirect which POSTs data to another URL in ASP.NET
问题 I want to redirect a response to another URL while it contains some POST data in it's HTTP header. // Inside an ASP.NET page code behind: Response.Redirect("http://www.example.com/?data=sent%20via%20GET"); // This will sent data to http://www.example.com via GET. // I want to POST this data to http://www.example.com instead. How to do this in ASP.NET? 回答1: you can send huge data also with this trick.. Response.Clear(); StringBuilder sb = new StringBuilder(); sb.Append("<html>"); sb