Top "Httpwebrequest" questions

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

System.Net.WebException: The operation has timed out

I have a big problem: I need to send 200 objects at once and avoid timeouts. while (true) { NameValueCollection data = new …

c# httpwebrequest
How to pass credentials to httpwebrequest for accessing SharePoint Library

I'm trying to read files from a SharePoint document library using HttpWebRequest. In order to do that I have to …

c# asp.net sharepoint httpwebrequest
Proxy Basic Authentication in C#: HTTP 407 error

I am working with a proxy that requires authentication, i.e., in a browser if I try to open a …

c# proxy httpwebrequest basic-authentication http-status-code-407
json call with C#

I am trying to make a json call using C#. I made a stab at creating a call, but it …

c# json httpwebrequest
Reasons for a 409/Conflict HTTP error when uploading a file to sharepoint using a .NET WebRequest?

I've got a method that uses a WebRequest to upload a file to a sharepoint 2010 list/folder, using a PUT …

.net sharepoint httpwebrequest webrequest
reading HttpwebResponse json response, C#

In one of my apps, I am getting the response from a webrequest. The service is Restful service and will …

c# json rest httpwebrequest httpwebresponse
C# HttpWebRequest of type "application/x-www-form-urlencoded" - how to send '&' character in content body?

I'm writing a small API-connected application in C#. I connect to a API which has a method that takes a …

c# post httpwebrequest
Adjusting HttpWebRequest Connection Timeout in C#

I believe after lengthy research and searching, I have discovered that what I want to do is probably better served …

c# httpwebrequest timeout
C# HttpWebRequest The underlying connection was closed: An unexpected error occurred on a send

I've been Googling and trying all the solutions I could find or think of myself. The site I'm trying to …

c# httpwebrequest
How to get error information when HttpWebRequest.GetResponse() fails

I am initiating an HttpWebRequest and then retrieving it's response. Occasionally, I get a 500 (or at least 5##) error, but no …

c# httpwebrequest httpwebresponse