Multi-line text/comment/description in REST interface - SOLVED

I have been trying to use the REST interface through PHP cURL and the
content=>value uses new lines (\n) to delimit fields so how do you embed
new lines into the Text: field?

Answer: Apparently, subsequent lines need a leading whitespace.

T-Mobile (UK) Limited
Company Registered Number: 02382161
Registered Office Address: Hatfield Business Park, Hatfield, Hertfordshire, AL10 9BW
Registered in England and Wales

NOTICE AND DISCLAIMER

This email (including attachments) is confidential. If you are not the intended recipient, notify the sender immediately, delete this email from your system and do not disclose or use for any purpose.

I have been trying to use the REST interface through PHP cURL and the
content=>value uses new lines (\n) to delimit fields so how do you embed new
lines into the Text: field?

Answer: Apparently, subsequent lines need a leading whitespace.
Never encountered that, it may be a peculiarity of your setup.

I use the RT::Client::REST and never have to do this, and it is not done within
the library itself either. Furthermore, the REST interface simply takes in the
same style forms as the CLI, which are exposed online via the "Offline Edit"
tool, and this requires no leading whitespace for multi-line data. Instead, the
form acts more like a HEREDOC.