0

I want to make two request to submit a form of another web application. How can I create post and get request. And how can I use secure this. Please, help me.

PS. I don't want to create ajax request. Just httpwebrequest.

zanhtet
  • 2,040
  • 7
  • 33
  • 58
  • You can create get and post request in many ways like AJAX calls, or using dynamic Javascript... Can you be more specific? – sajoshi Mar 24 '11 at 08:03
  • **get** requests are just yourpageaddress.aspx?item1=value1&item2=value2, etc. – Hossein Mar 24 '11 at 08:09
  • @Zenhtet: You can simply set the action method of the Html form Element to submit your request in the desired method i-e GET or POST , but in ASP.NET if you use server controls they cannot exist without aspnet server Form control and ASPnet Form control does not allow you to submit to another page. – Furqan Hameedi Mar 24 '11 at 08:09
  • Google is your friend: http://www.google.com/search?q=post+data+using+httpwebrequest&sourceid=ie7&rls=com.microsoft:sv:IE-SearchBox&ie=&oe= – Ozzy Mar 24 '11 at 09:24

1 Answers1

0

If you are talking about requests to another server, please check out think post: Link Here

It is in C# but converting from C# to VB .Net is easy, just Google it.

If you have any questions, feel free to ask.

Community
  • 1
  • 1
Dima
  • 655
  • 2
  • 8
  • 20