开发者

redmine API: cannot GET issues.json with curl

开发者 https://www.devze.com 2023-04-04 14:00 出处:网络
When I issue the following command, I got aHTTP/1.1 401 Unauthorized error: curl -v -XGET -u admin:admin http://my_projects.heroku.com/projects/PROJECT_NAME/issues.json

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

精彩评论

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