Hello Every one after long time I am back with new Post that is you Post Data Using Response.Redirect in your application. Nowdays I am creating a application on which I needed to communicate with a third party payment application, where in some point, I will have to send information to that third party application using POST.
we are not using GET method because it contain secure value.
In Our asp.net there some options for submitting data(POST or GET) to a destination URL: They Are As follow:
Response.Redirect: This method is commonly used, but it will only use the GET method in ASP.NET, and there is no way to do a POST using it.
Server.Transfer: This method does a POST not GET, but ... unfortunately, it will only work when the source and destination are in the same application;
HTML Submit button with POST FORM: Well, this is the standard way of sending POST data to any URL, whether it is in your application or in a third party application, but this will restrict you to have a Submit button.
Now I have a Response.Redirect method to which give a collection of data and to do a POST method instead of a GET method