Top "Httpwebrequest" questions

HttpWebRequest is a class for .NET Framework applications that provides a HTTP-specific implementation of the WebRequest class.

How to read the response stream before the Http response completes

When making a request using HttpWebRequest object, I need to call the method GetResponse() to send the request and get …

c# http httpwebrequest httpwebresponse
Are PUT and POST requests required/expected to have a request body?

I'm writting a RESTful api, and at I'm thinking about the process of a user creating a key. I have …

http rest post httpwebrequest put
C#: "Using" Statements with HttpWebRequests/HttpWebResponses

Jon Skeet made a comment (via Twitter) on my SOApiDotNet code (a .NET library for the pre-alpha Stack Overflow API): @…

c# httpwebrequest using httpwebresponse using-statement
Get HTTP requests and responses made using HttpWebRequest/HttpWebResponse to show in Fiddler

Is there any way I can hook Fiddler up to capture requests and responses made using .NET HttpWebRequest and HttpWebResponse?

.net httpwebrequest fiddler httpwebresponse
407 Authentication required - no challenge sent

Update: If you've just arrived at this question, the general gist is that I'm trying to make a HttpWebRequest via …

c# proxy httpwebrequest http-status-code-407
Is there a correct way to dispose of a httpwebrequest?

I am using a HttpWebRequest, and am disposing of the response stream. Is there a correct method of disposing of …

.net httpwebrequest
powershell httpwebrequest GET method cookiecontainer problem?

I'm trying to scrape a website that has user authentication. I am able to do a POST to send my …

powershell httpwebrequest httpwebresponse cookiecontainer