Solved

post and statis of a http request in vb.net

Posted on 2012-04-04
1
153 Views
Last Modified: 2012-04-20
Given the following

 Const HOST = "http://www.me.none/servlet/SignUp?f=268242&postMethod=HTML&&email=test@me.com"
       
        Dim Requester As Net.HttpWebRequest = Net.HttpWebRequest.Create(HOST)
        Requester.Method = "post"
   
how do I send the request and read the response/status ?

Thanks
0
Comment
Question by:HalCHub
1 Comment
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 500 total points
ID: 37808857
What do you want to send in request? You need to use the Requester.GetRequestStream() method and then write to it. Use the GetResponse() method to retrieve the response

http://www.worldofasp.net/tut/WebRequest/Working_with_HttpWebRequest_and_HttpWebResponse_in_ASPNET_114.aspx
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Clone Visual studio 2013 solution 5 25
Programmatically signing Word macros 4 61
How to use odbc in vb to connect to ms sql 14 38
Help with AsEnumerable(), LINQ 4 22
Well, all of us have seen the multiple EXCEL.EXE's in task manager that won't die even if you call the .close, .dispose methods. Try this method to kill any excels in memory. You can copy the kill function to create a check function and replace the …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now