Top "Httpwebrequest" questions

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

Getting Http Status code number (200, 301, 404, etc.) from HttpWebRequest and HttpWebResponse

I am trying to get the HTTP status code number from the HttpWebResponse object returned from a HttpWebRequest. I was …

c# .net http httpwebrequest
How to ignore the certificate check when ssl

I am trying find a way to ignore the certificate check when request a Https resource, so far, I found …

c# ssl httpwebrequest certificate
Receiving JSON data back from HTTP request

I have a web request that is working properly, but it is just returning the status OK, but I need …

c# httpwebrequest
Post form data using HttpWebRequest

I want to post some form data to a specified URL that isn't inside my own web application. It has …

c# post httpwebrequest
How to make an HTTP get request with parameters

Is it possible to pass parameters with an HTTP get request? If so, how should I then do it? I …

c# httpwebrequest get
Get host domain from URL?

how to get host domain from a string URL? GetDomain has 1 input "URL", 1 Output "Domain" Example1 INPUT: http://support.domain.…

c# string url httpwebrequest uri
Send JSON via POST in C# and Receive the JSON returned?

This is my first time ever using JSON as well as System.Net and the WebRequest in any of my …

c# .net json httpwebrequest json.net
Why am I getting "(304) Not Modified" error on some links when using HttpWebRequest?

Any ideas why on some links that I try to access using HttpWebRequest I am getting "The remote server returned …

http httpwebrequest http-status-code-304 if-modified-since
How to add parameters into a WebRequest?

I need to call a method from a webservice, so I've written this code: private string urlPath = "http://xxx.xxx.…

c# .net web-services httpwebrequest
What difference is there between WebClient and HTTPWebRequest classes in .NET?

What difference is there between the WebClient and the HttpWebRequest classes in .NET? They both do very similar things. In …

c# .net httpwebrequest webclient