<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1491" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=367003719-14072005><FONT face=Arial color=#0000ff size=2>Hey
all,</FONT></SPAN></DIV>
<DIV><SPAN class=367003719-14072005><FONT face=Arial color=#0000ff size=2>Still
can not find ANY documentation or examples regarding the REST interface, which
is too bad because it makes RT require more resources to integrate - which in
turn makes it not a good business decision. Anyway, I
digress.</FONT></SPAN></DIV>
<DIV><SPAN class=367003719-14072005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=367003719-14072005><FONT face=Arial color=#0000ff size=2>I'm
trying to post data to REST/1.0/ticket/edit (or /REST/1.0/edit as I think they
have the same functionality) and so far have not had any success (I'm using
jakarta-commons HTTPCLIENT, but that should be irrelevant for the
request). </FONT></SPAN></DIV>
<DIV><SPAN class=367003719-14072005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=367003719-14072005><FONT face=Arial color=#0000ff size=2>I
would like an example of what the HTML POST should look like. I'm assuming
it's already cookie-authed and that it is supposed to be a multi-part form, and
that if you want to create a new ticket you make the key=value something
like id=ticket/new, but beyond that:</FONT></SPAN></DIV>
<DIV><SPAN class=367003719-14072005><FONT face=Arial color=#0000ff size=2><FONT
color=#0000ff size=2>======</FONT></FONT></SPAN></DIV>
<DIV><SPAN class=367003719-14072005><FONT face=Arial color=#0000ff
size=2>RT/3.4.1 400 Bad Request</FONT></DIV>
<DIV>
<P><FONT face=Arial color=#0000ff size=2>No objects specified.</FONT></P>
<P><SPAN class=367003719-14072005><FONT face=Arial color=#0000ff
size=2>======</FONT></SPAN></P>
<P><SPAN class=367003719-14072005><FONT face=Arial color=#0000ff
size=2>Hopefully the request is clear and get a response soon
:-)</FONT></SPAN></P>
<P><SPAN class=367003719-14072005><FONT face=Arial color=#0000ff
size=2>-D</FONT></SPAN></P>
<P><SPAN class=367003719-14072005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </P>
<P><SPAN class=367003719-14072005><FONT face=Arial color=#0000ff size=2>p.s.
yes, I'm aware of the RT:Atom package, but as it does not seem to be deployed
with the standard 3.4, nor in any of the near future, and I rather keep
with something that is the least likely to break over version
upgrades.</FONT></SPAN></P>
<P><FONT face=Arial color=#0000ff
size=2></FONT> </P></SPAN></DIV></BODY></HTML>