Link to home
Start Free TrialLog in
Avatar of ram27
ram27

asked on

post data using "WebRequest" or "Net.WebRequest and redirect using asp.net/vb.net

Hi

  I want to use "WebRequest" or  "Net.WebRequest" to create and  send post data to https website and redirect to https website.
How is it possible using asp.net/vb.net 3.5 framework.


i wan to try some thing like this,
 Dim hwrRequest = Net.WebRequest.Create(strPostUrl)
                hwrRequest.ContentType = "application/x-www-form-urlencoded"
                hwrRequest.Method = "POST"
i am not sure above approach is proper not not.
Also let me know how to redirect the response stream(https site)


ASKER CERTIFIED SOLUTION
Avatar of abel
abel
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial