Top "Webrequest" questions

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

You must write ContentLength bytes to the request stream before calling [Begin]GetResponse

Error: You must write ContentLength bytes to the request stream before calling [Begin]GetResponse. Can anyone advise why I am …

xml vb.net xmlhttprequest webrequest webresponse
Sending gzipped data in WebRequest?

I have a large amount of data (~100k) that my C# app is sending to my Apache server with mod_…

c# gzip webrequest gzipstream
Powershell Invoke-RestMethod incorrect character

I'm using Invoke-RestMethod to get page names from an application I'm using. I notice that when I do a GET …

powershell webrequest non-ascii-characters
Get unique worker/thread/process/request ID in PHP

In multi-threaded environments (like most web platforms) I often include some sort of thread ID to the logs of my …

php multithreading logging webrequest
Using .NET to Post a file to Server HttpWebRequest or WebClient

Okay so here is the deal. As the question states, I'm trying to POST a file to a webserver and …

c# .net post webrequest httpwebresponse
Sending a HttpWebRequest with PFX Certificate C#

I have been trying to send a Web Request, but im facing this error "The remote server returned an error: (500) …

c# soap webrequest pfx envelope
How to parse JSON data in System.Net.Webrequest reponse

I am trying to call an API which returns the data in JSON format which i need to parse. How …

c# rest api webrequest webresponse
Java/Android: java.lang.OutOfMemoryError while building a JSON object

I am importing JSON data from a public database URI http://data.seattle.gov/api/views/3k2p-39jp/rows.…

java android json webrequest
WebRequest GetResponseStream read bytes

I'm trying to read bytes from an ResponeStream, but how can i say to wait for the data? If i …

c# stream httpwebrequest webrequest