Hi again,
> The REST interface accepts "user" and "pass" parameters. If you're using
> Perl, the code will look something like:
>
> $mech->post("$baseurl/REST/1.0/search/ticket", [
> user => "root",
> pass => "password",
> query => "queue='foo'",
> ]);
Is it true for all the REST interface?
When I send a HTTP GET request on a URL like:
http://rt.example.com/REST/1.0/search/ticket?query=...&user=root&pass=password
it works, but when I try on another URL like:
http://rt.example.com/REST/1.0/ticket/55?user=root&pass=password
I get a "401 Credentials required" response...
I don't understand.
Martin Bouladour
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com