Re: Post to a Form from VB.NET?

From: Chad Z. Hower aka Kudzu (cpub_at_hower.org)
Date: 05/19/04


Date: Wed, 19 May 2004 09:43:05 +0300


"Smoke" <smoke@netgate.com.uy> wrote in
news:eC#RInUPEHA.2716@tk2msftngp13.phx.gbl:
> I did tryied that, and i was able to request a webpage or and post data
> to a form using the GET method (passing parameters in the url) but not

GET isnt exactly the same as post but is similar.

> able to understand how im suposed to POST data to a page, how do i
> define which items i want to post? the names and the value pairs?

Yes, name and value pairs. Just call the POST method instead and either pass
them in as a list of strings, or a stream.

> Suposed i have http://internet.com/forum.asp then i want to call that
> page, but posting data, for example username=smoke password=blah, how im
> suposed to post those values if not in the url?

The Post method takes an extra argument for the parameters.

--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
      "Programming is an art form that fights back"
Get your ASP.NET in gear with IntraWeb!
  http://www.atozed.com/IntraWeb/


Relevant Pages

  • Re: Post to a Form from VB.NET?
    ... and i was able to request a webpage or and post data to a form using the GET method (passing parameters in the ... > there is an entire web response and web class in .NET it maybe useful for ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Extract data using Curl Unix Command & Perl Script from Webpage
    ... > I normally will group all the webpage source of each of the ... The HTML page generating the request indicates it is using the POST ... verify that the POST method was used? ... Please guide me. ...
    (comp.lang.perl.misc)
  • Re: Post using Query String
    ... post data from the command line. ... you have to have another server convert ... > want to open needs parameters passed to it via the POST method. ...
    (comp.lang.java.programmer)
  • http request using fsockopen
    ... On the start of page B I check var $foo. ... Sending the POST data also though the POST method. ... I manually create a HTTP request to page C and use the fsockopen method to ...
    (php.general)
  • http request using fsockopen
    ... On the start of page B I check var $foo. ... Sending the POST data also though the POST method. ... I manually create a HTTP request to page C and use the fsockopen method to ...
    (alt.php)