Get URL

hi,

what class(s) can you use to get the response from a GET URL request.

thanks
FatlogAsked:
Who is Participating?
 
REA_ANDREWConnect With a Mentor Commented:
using System.Net;

HttpWebRequest request = (HttpWebRequest)
                WebRequest.Create("http://wwlsupplies/index.asp");

            // execute the request
HttpWebResponse response = (HttpWebResponse)
                request.GetResponse();
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.