http object

  • Thread starter Thread starter john
  • Start date Start date
J

john

is there a .net object that lets me use the http verbs
like get, put, post?
 
really? which method do i use? i've only been able to
pass a url into the HttpWebRequest. I need to literally
call Put, Post and Get verbs.
 
HttpWebRequest objRequest = (HttpWebRequest)WebRequest.Create(strURL);
objRequest.Method = "GET";
HttpWebResponse objResponse = (HttpWebResponse)objRequest.GetResponse();
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top