Using REST from php

Hello,

I am trying to create a ticket using the REST API.

The URL I am using is as follows:

http://localhost/rt3/REST/1.0/ticket/new/?user=root&pass=XXXX&queue=default&subject=test&requestor=tester

This is what I get back:

Required: Queue, Requestor, Subject

id: ticket/new
Queue: General
Requestor: root
Subject:
Cc:
AdminCc:
Owner:
Status: new
Priority: 0
InitialPriority: 0
FinalPriority: 0
TimeEstimated: 0
Starts: 2006-11-30 04:02:41
Due: 2006-11-30 04:02:41
Text:

I have been unable to find documentation on how to construct the REST URI.
Admittedly I am new to REST, and I don’t know perl,
but can anyone tell me what am I doing wrong?

Ann

Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com