Gday,
Probably a simple question. In an HTTP Request sampler setup to POST
data I need to send a parameter which has new lines in it. I can't seem
to be able to work out how to send those new lines.
eg. "bodycopy_data" is the name of the parameter and the data to send
indexed by that name is
"<val_type>array</val_type>
<name_type>string</name_type><name>containerid</name><val_type>integer</val_type><val>1</val>
<name_type>string</name_type><name>container_type</name><val_type>string</val_type><val>div</val>
<name_type>string</name_type><name>before</name><val_type>boolean</val_type><val>0</val>
<name_type>string</name_type><name>attributes</name><val_type>array</val_type>
<name_type>string</name_type><name>identifier</name><val_type>string</val_type><val></val>
<name_type>string</name_type><name>layout_type</name><val_type>string</val_type><val>div</val>
<name_type>string</name_type><name>css_class</name><val_type>string</val_type><val></val>
<name_type>string</name_type><name>content_type</name><val_type>string</val_type><val>content_type_wysiwyg</val>"
So there are several new lines in there but whenever I try it all comes
through as a single line on the webserver side. I tried replacing new
lines with \n but that came through as a single line with the slashes in
my slash n's escaped with another slash ie. \\n
Thanks for your time,
Chad
--
Anthony Chadszinow
MySource Classic Lead Developer
Squiz
92 Jarrett St Leichhardt, Sydney NSW, Australia 2040
t: 13000 SQUIZ ( Support )
t: 8507 9900 / 1300 130 661
f: 8507 9988
e: [EMAIL PROTECTED]
w: www.matrix.squiz.net
w: www.squiz.net
Sydney | Melbourne | Canberra | Hobart | Wellington | London
Open Source - Own it - Squiz.net
----------------------------------------------------
IMPORTANT:This email (and any attachments) is commercial-in-confidence and
or may be legally privileged and must not be forwarded, copied or shared
without express permission from Squiz. If you are not the intended
recipient, you may not legally copy, disclose or use the contents in any way
and you should
contact [EMAIL PROTECTED] immediately and destroy this message and any
attachments. Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]