Ok. Good call - will revert to web client.
Wired MS prioritized the HTTP status code so lowly I'm the API.
I wonder if what I saw with HttpRequest is a bug. Probably not,
because WebClient uses HttpRequest (I think), so perhaps some configuration
setup I was getting wrong before opening the s
I believe you can get WebClient status codes by catching WebException and
looking at it's Response.StatusCode
assuming you're only interested in failure status codes, this might work
for you
On Sun, Aug 12, 2012 at 8:34 AM, Phil Cockfield wrote:
> Hello!
>
> I'm using the *HttpWebRequest *to do
Hello!
I'm using the *HttpWebRequest *to do a PUT on my server. The web-server is
Node.js. The code is very by the book standard stuff:
// Prepare the data.
var dataText = data.ToString();
var byteArray = dataText.ToByteArray();
// Setup the web-request.