vb.net httpwebrequest

Discussion in 'Visual Basic .NET' started by persitquod, Jan 27, 2017.

  1. persitquod

    persitquod Newbie

    Mar 29, 2012
    Likes Received:
    Hi friends,
    i'm new to vb.net and need some help.
    i'm trying to send my mail to a site using httwebrequest looking random codes on the web.
    still now nothing works, coud you help me?
    this is the html page where I'm trying to send my mail with a random fake ip.
    <div class="page-content"><form action="http://test.php" method="POST" name="formAnaInt">&nbsp;</p>
    <div class="box"><input id="inputAM" style="width: 200px;" name="email" required="" type="email" value="" placeholder="email"/><br/>
    <button name="button">Test</button><br/>
    <input id="inputAM" style="width: 50px; visibility: hidden;" name="ipuser" readonly="readonly" type="text" value="2001:16a2:7ca:2100:e537:28d1:86f:e128"/></div>
    Exist a way do to it throught webrequest or I need to put a webbrowser?
    thank you
  2. Netro

    Netro Junior Member

    Jun 12, 2015
    Likes Received:
    Baka Dev.
    The html input page has nothing to do with the requests. It's more complicated!
    You need to capture the traffic of the specific website and try re-do it everything through web requests. You need to login, parse various values & keys, submit them and so on. It's easy, but somehow hard, it depends on the website.
    It seems you're new to this, so I highly suggest using an webbrowser component. Basically you don't have to do more than navigate, click buttons, and setting delays which is very simple.

    If you want to learn about Httpwebrequests and how to send and receive data I suggest: youtube.com/watch?v=7Wzel-g1U54

    Good luck!