Hi and thanks for your response.
I get the same behavior for both being logged in in a browser and logged out. But I didn’t use this browser for the tests.
I use this for the login as documented here: https://rt-wiki.bestpractical.com/wiki/REST#Authentication
> wget --keep-session-cookies --save-cookies cookies.txt --post-data 'user=[user]&pass=[pw]' http://localhost:8085/REST/1.0/
And I get back the index.html, which is not the login form, but the page for already being logged in and it lists the tickets!
With a basic get request like
> wget --keep-session-cookies --save-cookies cookies.txt http://localhost:8085/REST/1.0/ticket/1/show
I get again the index page like above (as I am logged in), not the ticket itself
If I am not authenticated i.e. I don’t have cookies, I get the expected response:
> wget http://localhost:8085/REST/1.0/ticket/1/show gives
RT/4.4.2 401 Credentials required
How do you authenticate with the API?