P
Paul
I am using HTTPWebRequest to programatically send a HTTP POST request.
I have a long string (400 characters): dim str as string = "xxxxx...."
It is a value that is passed in the HTTP Post header.
So I do something like this:
Request = HttpWebRequest.Create(URL)
Request.Type = "POST"
IOWriter = New IO.StreamWriter(Request.GetRequestStream())
IOWriter.Write(PostData)
dim Request As HttpWebRequest = Request.GetResponse()
The request is sent properly but for some reason, a LINE FEED IS INSERTED
INTO THE STR VARIABLE AFTER 80 CHARACTERS?
This is bizarre.
Has anyone come across something like this?
I believe it must have something to do with the IO.Streamwriter but it
really makes no sense.
Can anyone help?
TIA
I have a long string (400 characters): dim str as string = "xxxxx...."
It is a value that is passed in the HTTP Post header.
So I do something like this:
Request = HttpWebRequest.Create(URL)
Request.Type = "POST"
IOWriter = New IO.StreamWriter(Request.GetRequestStream())
IOWriter.Write(PostData)
dim Request As HttpWebRequest = Request.GetResponse()
The request is sent properly but for some reason, a LINE FEED IS INSERTED
INTO THE STR VARIABLE AFTER 80 CHARACTERS?
This is bizarre.
Has anyone come across something like this?
I believe it must have something to do with the IO.Streamwriter but it
really makes no sense.
Can anyone help?
TIA