[Rt-devel] REST interface ..

Dmitri Tikhonov dtikhonov at vonage.com
Thu May 4 10:59:19 EDT 2006


I think you prepend whitespace for the lines that follow, something like
this:

Text: line1
      line2
      line3

See RT::Interface::REST, function form_parse().

  - Dmitri.

On Wed, 2006-05-03 at 22:29 -0400, Matthew Watson wrote:
> Hi all.
> 
>  
> 
>  I’m trying to write a java interface to RT using the REST API.
> 
>  
> 
> All is going swimmingly, except one problem, how can I create a ticket
> with multi line “Text” content..
> 
>  
> 
> Eg, if I send through this form
> 
>  
> 
> Queue: General
> 
> Subject: Foo
> 
> Status: new
> 
> Requestor: mwatson at foo.com
> 
> Text: This is the ticket content
> 
>  
> 
>  
> 
> It works fine. However
> 
>  
> 
> If I send
> 
>  
> 
> Queue: General
> 
> Subject: Foo
> 
> Status: new
> 
> Requestor: mwatson at foo.com
> 
> Text: This is the ticket content
> 
> Here is some more content
> 
>  
> 
> It of course fails. So, Does anyone know how to do this correctly?
> 
>  
> 
>  
> 
> Regards
> 
>  
> 
> --
> 
> Matthew Watson
> 
> Netspace Online Systems
> 
> (03) 98110010
> 
>  
> 
> 
> plain text document attachment (ATT219280.txt), "ATT219280.txt"
> _______________________________________________
> List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
> 
> Best Practical is hiring! Come hack Perl for us: http://bestpractical.com/about/jobs.html



More information about the Rt-devel mailing list