How to send a POST Request
-
Hi, I want to redirect a user from my server to another server and meanwhile pass some data via post method to the second server page. Please let me know how can I do this? For example: http://www.test.com/req.aspx?ID=1000 This is the GET Moethod version I want to pass the ID=1000 via the post method while redirecting the user to www.test.com/req.aspx Please help, Samy
-
Hi, I want to redirect a user from my server to another server and meanwhile pass some data via post method to the second server page. Please let me know how can I do this? For example: http://www.test.com/req.aspx?ID=1000 This is the GET Moethod version I want to pass the ID=1000 via the post method while redirecting the user to www.test.com/req.aspx Please help, Samy
Do you need to a POST method? Because the Response.Redirect and the Server.Transfer methods will not allow you to pass the data as part of the POST parameters. ~Javier Lozano
-
Do you need to a POST method? Because the Response.Redirect and the Server.Transfer methods will not allow you to pass the data as part of the POST parameters. ~Javier Lozano
Dear Javier, Yes, Actually I need a POST Method. I must transfer the MerchantID and Amount to a Payment Gateway and it needs the parameters being passed with POST Method. Regards, Samy