Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 2 of 2 total
Thread Multiline POST variable
Sat, Apr 22 2017 9:42 AMPermanent Link

thomh

Hi,

I have an RealThinClient server and I am trying to POST the contents of a TMultiLineEdit.

How do I correctly format the string?

F.ex:

Hello there, world
Line2
Line3

comes across like this:

'Hello%20there%2C%20world!%0D%0ALine%202%0D%0ALine%203'

// Thom
Sat, Apr 22 2017 10:45 AMPermanent Link

thomh

Never mind.

A combination of ServerRequest.RequestContent.Text and ServerRequest.RequestHeaders.Values['Content-Length'] did the trick.

// Thom
Image