Re: [rt-users] New UX for RT: REST 2.0, json, and what?

Alex Vandiver <[email protected]>
Newsgroups gmane.comp.bug-tracking.request-tracker.devel
Organization Best Practical Solutions, LLC
Message-ID <[email protected]>
On Wed, 2014-03-19 at 08:13 +0100, BÁLINT Bekény wrote:
> Hi All,

I've dropped rt-users from the recipients list, as rtx-rest isn't in a
position to be relevant to en-users yet.

> We try to use the RTx-REST v2 plugin. We modified the source of RT 4.2
> with the following:
> https://github.com/bestpractical/rt/compare/4.2;support-rest-v2
> then installed the plugin and tried to use the REST interface with
> curl, but we got "internal server error" message.

I can't replicate.  Installing rtx-rest atop the 4.2/support-rest-v2
branch, starting the standalone server, and running:

curl --user root:password http://localhost:8080/REST/2.0/queue/1

..produces the expected JSON.

> In the error log we have:

Please show the curl invocation you were using, and the complete error
logs.
 - Alex


-- 
RT Training - Dallas May 20-21
http://bestpractical.com/training
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.