<div dir="ltr"><div><font face="arial, helvetica, sans-serif">Ok my RT version is not supported so I don't demand you to solve this particular case. However, I think there is a problem in the way RT parses those values without handling correctly the new lines.</font></div>
<div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">To support my position, I will describe again what I do.</font></div><div><font face="arial, helvetica, sans-serif"><br>
</font></div><div><font face="arial, helvetica, sans-serif">I use the following to send a form with a variable called content which has, as value, the fields and their values, as follow:<br></font></div><div><font face="arial, helvetica, sans-serif"><br>
</font></div><div><font face="arial, helvetica, sans-serif"><input type='hidden' value=<span style="white-space:pre-wrap">CF.{Field1}: Value1</span><b>\n</b><span style="white-space:pre-wrap">CF.{Field2}: Value2</span>' name='content'/><br>
</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><font face="arial, helvetica, sans-serif">When I check the form Data which is sent,, here is what I get:</font><div><font face="arial, helvetica, sans-serif"><br>
</font><div><ol class="" style="margin:0px;min-width:100%;list-style-type:none;padding:2px 6px!important"><li title="" style="padding:0px 0px 0px 14px;margin-top:1px;word-wrap:break-word;white-space:nowrap"><font face="arial, helvetica, sans-serif"><div class="" style="color:rgb(84,84,84);display:inline-block;margin-right:0.5em;font-weight:bold;vertical-align:top;white-space:pre-wrap">
content:</div><div class="" style="white-space:pre-wrap;display:inline;margin-right:100px;word-break:break-all;margin-top:1px;font-size:12px!important">CF.%7BField1%7D%3A+Value1<b>%0D%0A</b>CF.%7BField2%7D%3A+Value2</div>
</font></li></ol><div><span style="white-space:pre-wrap"><font face="arial, helvetica, sans-serif"><br></font></span></div></div><div><font face="arial, helvetica, sans-serif"><span style="white-space:pre-wrap">How can you say it is an invalid FORM data ? <font color="#000000">You can see that it sends </font></span><span style="font-size:12px;white-space:pre-wrap">%0D%0A (\r\n) instead of the \n I write in my html form.</span></font></div>
</div><div><span style="font-size:12px;white-space:pre-wrap"><font face="arial, helvetica, sans-serif">And this is the normal behavior described in the HTML specs.</font></span></div><div><font face="arial, helvetica, sans-serif"><br>
</font></div><div><span style="font-size:12px;white-space:pre-wrap"><font face="arial, helvetica, sans-serif">Is the REST interface is not intended to be used with HTML forms ?</font></span></div><div><font face="arial, helvetica, sans-serif">If I update RT to a new version (which I can't), would it solve this ? <b style="font-size:12px;white-space:pre-wrap"><br>
</b></font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Sylvain</font></div></div>