RT 3.8.1 Cli

Has anyone gotten the RT Cli tool to work (with the REST interface)
via 3.8.1? It appears to work on my 3.7.xxx installation, but I get a
302 when trying to run it against 3.8.1…

It’s more than likely something really stupid i’m missing, but my
searches are turning up dry today… Why would /REST/1.0/show redirect
me to selfService?? Is that a feature? :slight_smile:

DEBUG:

POST http://server/REST/1.0/show
Content-Length: 274
Content-Type: multipart/form-data; boundary=xYzZY

–xYzZY
Content-Disposition: form-data; name=“format”

l
–xYzZY
Content-Disposition: form-data; name=“id”

ticket/new
–xYzZY
Content-Disposition: form-data; name=“user”

user
–xYzZY
Content-Disposition: form-data; name=“pass”

password
–xYzZY–

HTTP/1.1 302 Found
Connection: close
Location: http://server/SelfService/
Server: Apache/2.2.3 (Red Hat)
Content-Length: 334
Content-Type: text/html; charset=iso-8859-1
Client-Date: Wed, 12 Nov 2008 20:06:04 GMT
Client-Peer: XXXXXXX:80
Client-Response-Num: 1
Title: 302 Found

302 Found

Found

The document has moved here.


Apache/2.2.3 (Red Hat) Server at server Port 80 rt: Server error: Found (302)

Wes
http://claimid.com/wesyoung

smime.p7s (2.39 KB)

Has anyone gotten the RT Cli tool to work (with the REST interface)
via 3.8.1? It appears to work on my 3.7.xxx installation, but I get
a 302 when trying to run it against 3.8.1…

It’s more than likely something really stupid i’m missing, but my
searches are turning up dry today… Why would /REST/1.0/show
redirect me to selfService?? Is that a feature? :slight_smile:

Is the user you’re logging in as Unprivileged ?

You also may want to have a look at rt’s debug logs along with the
debug output of bin/rt

-kevin