REST - Edit Ticket

Hello,

at the moment I’m trying to modify an existing ticket by the Rest
Interface. But it doesn’t work as expected. How must the request look
like, that I can modify a Ticket?

The following does NOT work:

2007-06-08 12:01:32.839:
2007-06-08 12:01:32.839: curlDoRequest: Method: POST
2007-06-08 12:01:32.839: curlDoRequest:
https://xxxx/rt/REST/1.0/ticket/edit
2007-06-08 12:01:32.839: curlDoRequest: Port: 80
2007-06-08 12:01:32.839: curlDoRequest: Header: Cookie: RT_SID_xxx=xxx;
2007-06-08 12:01:32.839: curlDoRequest: Data: # create ticket request
id: ticket/16579
Status: new
2007-06-08 12:01:32.895: Request successful!
2007-06-08 12:01:32.895: --HEADER
FOLLOWING-------------------------------
2007-06-08 12:01:32.895: HTTP/1.1 200 OK
Server: Apache
Transfer-Encoding: chunked
Content-Type: text/plain; charset=utf-8

2007-06-08 12:01:32.895: --BODY
FOLLOWING---------------------------------
2007-06-08 12:01:32.895: RT/3.4.5 400 Bad Request

No objects specified.

2007-06-08 12:01:32.895:

And how can I create tickets using the REST Interface?