开发者

redmine API: cannot GET issues.json with curl

When I issue the following command, I got a HTTP/1.1 401 Unauthorized error:

curl -v -XGET -u admin:admin http://my_projects.heroku.com/projects/PROJECT_NAME/issues.json

Any idea ?

UPDATE

curl -v -XGET http://my_projects.heroku.com/news.json
curl -v -XGET http://my_projects.heroku.com/projects.json

are working fine (I mean, I do not have 401 err开发者_运维技巧or but obviously my private projects is not listed). Seems that the permissions of my issues are not correctly set...


Ok, found the pb ! I'm new to Redmine and did not enable the web services.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜