Defect #8910
closedAPI does not work on my client.
0%
Description
Why the API does not work on my address:
http://lumenit.teamproject.com.br/projects.xml
The screen goes blank with no content in any response source code.
I would like to work this way:
http://www.redmine.org/projects.xml
Need to perform any procedure or during the installation files?
I'm totally lost.
Updated by Alex Last almost 14 years ago
have you enabled REST API?
How to enable REST API in Redmine: http://www.taskadapter.com/help/redmine/redmine_config.html#rest_api
Updated by Jean-Philippe Lang almost 14 years ago
- Status changed from New to Closed
- Resolution set to Cant reproduce
Updated by Mikal Villa over 13 years ago
- Status changed from Closed to Reopened
I also experienced a problem with no result from the REST API.
Yes, REST api is enabled. I've double checked.
But still, it don't work.
In logfile I got this:
Processing ProjectsController#index to xml (for <client ip> at 2011-10-05 16:26:40) [GET]
Parameters: {"format"=>"xml", "action"=>"index", "page"=>"1", "controller"=>"projects", "per_page"=>"25"}
Filter chain halted as [:check_if_login_required] rendered_or_redirected.
Completed in 2ms (View: 0, DB: 0) | 401 Unauthorized [http://<host>/redmine/projects.xml?page=1&per_page=25]
And when I tires it in a webbrowser where I'm not signed in, I don't get any http login request whatsoever.
Updated by Etienne Massip over 13 years ago
- Category changed from Forums to REST API
Updated by Jean-Baptiste Barth about 12 years ago
- Status changed from Reopened to Closed
- Priority changed from High to Normal
Closing this one, you probably got the authentication wrong. See Rest_api