|
-
Jan 1st, 2013, 01:28 AM
#12
Re: Converting image to base64 String? Help with code!
I thought that I had replied again to this thread but apparently not. You seem to be under the impression that writing to the request stream is sending data to the server. It's not. You've accomplished nothing by using an Encoding object to convert the String to a Byte array because that's exactly what a SteramWriter does internally anyway. If you want to actually send the data to the server then you have to execute the request, which you do by calling GetResponse. I'd be surprised if any example of using an HttpWebRequest didn't include a call to GetResponse.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|