T
Tosco
After more than enough struggling I was finally able to POST some data
as explained in the example of BeginGetRequestStream.
But after some succesful tests with short ByteArrays I got stuck again
because it doesn't work with long strings.
I didn't make any formal test, but it looks like with the ByteArray <
200 bytes it works, with ByteArray > 1300 it fails.
The "myWebRequest.GetResponse()" throws the exception "The remote
server returned an error: (500) Internal Server Error."
I tried to send the buffer in smaller chunks, a loop with many
"streamResponse.Write", but it didn't help.
It is the first time I use WebRequest, I don't know what else to try,
so I'm trying here.
Thanks,
Stefano
as explained in the example of BeginGetRequestStream.
But after some succesful tests with short ByteArrays I got stuck again
because it doesn't work with long strings.
I didn't make any formal test, but it looks like with the ByteArray <
200 bytes it works, with ByteArray > 1300 it fails.
The "myWebRequest.GetResponse()" throws the exception "The remote
server returned an error: (500) Internal Server Error."
I tried to send the buffer in smaller chunks, a loop with many
"streamResponse.Write", but it didn't help.
It is the first time I use WebRequest, I don't know what else to try,
so I'm trying here.
Thanks,
Stefano