Top "Webrequest" questions

WebRequest is a abstract class in .NET Framework for making requests to URIs (including HTTP, HTTPS, FTP and FILE protocols).

How to force WebRequest to send Authorization header during POST

When using WebRequest to send a POST, the Authorization header is not sent with the request even though I have …

.net http twitter webrequest
Forcing Basic Authentication in WebRequest

I am integrating web service that will use an HTTP-POST to request and retrieve data. The remote server requires basic …

.net web-services authentication webrequest
Making a web request to a web page which requires windows authentication

I am trying to make a request to a web page using WebRequest class in .net. The url that I …

c# windows-authentication webrequest
Mono https webrequest fails with "The authentication or decryption has failed"

I'm making a simple REST client to use in my C# applications. In .net on Windows It works great with …

c# https mono webrequest
C# - How to make a HTTP call

I wanted to make an HTTP call to a website. I just need to hit the URL and dont want …

c# http webclient webrequest
HttpWebRequest times out on second call

Why does the following code Timeout the second (and subsequent) time it is run? The code hangs at: using (Stream …

c# http garbage-collection httpwebrequest webrequest
Creating WPF BitmapImage from MemoryStream png, gif

I am having some trouble creating a BitmapImage from a MemoryStream from png and gif bytes obtained from a web …

wpf image webrequest memorystream bitmapimage
HttpWebRequest: Add Cookie to CookieContainer -> ArgumentException (Parametername: cookie.Domain)

I'm trying to login to a website via my application. What I did: First I figured out how the browser …

c# cookies httpwebrequest webrequest
Using WebClient or WebRequest to login to a website and access data

I'm trying to access restricted data on a website using WebClient/WebRequest. There is no official API in that website, …

c# login webclient forms webrequest
Using HTTP Authentication with a C# WebRequest

I want to make a web request to a page that needs authenticating. How would I go about doing this? …

c# authentication webrequest