[rt-users] RT 3.8.1 Cli

Young Wes wcyoung at buffalo.edu
Wed Nov 12 15:30:13 EST 2008


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? :)


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
Date: Wed, 12 Nov 2008 20:06:04 GMT
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

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="http://server/SelfService/">here</ 
a>.</p>
<hr>
<address>Apache/2.2.3 (Red Hat) Server at server Port 80</address>
</body></html>
rt: Server error: Found (302)

--
Wes
http://claimid.com/wesyoung

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2444 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20081112/1df60ff2/attachment.bin>


More information about the rt-users mailing list