Top "Httpwebrequest" questions

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

How to AutoDetect/Use IE proxy settings in .net HttpWebRequest

Is it possible to detect/reuse those settings ? How ? The exception i'm getting is This is the exception while connecting …

c# proxy httpwebrequest detect
C# how to get the JSON string by using HttpWebRequest

Anybody help me to get the JSON from the gitlab site. I have written my code but when I compile …

c# json httpwebrequest getjson gitlab-api
In c# convert anonymous type into key/value array?

I have the following anonymous type: new {data1 = "test1", data2 = "sam", data3 = "bob"} I need a method that will take …

c# .net httpwebrequest anonymous-types
HttpClient vs HttpWebRequest for better performance, security and less connections

I discovered that a single HttpClient could be shared by multiple requests. If shared, and the requests are to the …

c# asp.net-web-api httpwebrequest httpclient
Sockets in C#: How to get the response stream?

I'm trying to replace this: void ProcessRequest(object listenerContext) { var context = (HttpListenerContext)listenerContext; Uri URL = new Uri(context.Request.RawUrl); …

c# sockets httpwebrequest httpwebresponse
How to disable the "Expect: 100 continue" header in HttpWebRequest for a single request?

HttpWebRequest automatically appends an Expect: 100-continue header for POST requests. Various sources around the internet suggest that this can be …

c# .net httpwebrequest
Is it possible to transfer authentication from Webbrowser to WebRequest

I'm using webbrowser control to login any site. And then i want to download some sub page html using WebRequest (…

c# httpwebrequest webbrowser-control webclient
using Tor as Proxy

I'm trying to use Tor-Server as a proxy in HttpWebRequest, my code looks like this: HttpWebRequest request; HttpWebResponse response; request = (…

c# proxy httpwebrequest tor
how to use cookies with HttpWebRequest

I am creating an application for data retrieval from the web page. The page is password protected and when the …

.net httpwebrequest cookies
c# - WebRequest HTTP POST with Cookie (port from curl script)

The IBM RTC RESTful api gives an example of a shell script for authenticating with the server: COOKIES=./cookies.txt …

c# post curl httpwebrequest jazz