Top "Webresponse" questions

Reading data from an open HTTP stream

I am trying to use the .NET WebRequest/WebResponse classes to access the Twitter streaming API here "http://stream.twitter.…

c# http streaming webrequest webresponse
How to post XML document to HTTP with VB.Net

I'm looking for help with posting my XML document to a url in VB.NET. Here's what I have so …

vb.net webrequest xmldocument webresponse
The remote server returned an error: (422)

I am getting following error when I am trying to get WebResponse using WebResponse response = request.GetResponse() The remote server …

c# .net webresponse
c# Webrequest Post and GetResponse

I am writing a program that will submit a XML to a website. The code written works fine, but sometimes …

c# webrequest iasyncresult webresponse
Mocking WebResponse's from a WebRequest

I have finally started messing around with creating some apps that work with RESTful web interfaces, however, I am concerned …

xml web-services rest webrequest webresponse
You must write ContentLength bytes to the request stream before calling [Begin]GetResponse

Error: You must write ContentLength bytes to the request stream before calling [Begin]GetResponse. Can anyone advise why I am …

xml vb.net xmlhttprequest webrequest webresponse
How to properly dispose of a WebResponse instance?

Normally, one writes code something like this to download some data using a WebRequest. using(WebResponse resp = request.GetResponse()) // WebRequest …

c# .net idisposable webresponse
Http Get Request GetResponse Error

Im trying to send a get request and get the content of a webpage. i have these code. string url = "…

c# get request windows-store webresponse
Why We Need to Set Content Type of header request

I want to know that what is content type, why we need to set content type of header request and …

web httpwebrequest content-type request-headers webresponse