我想通過RESTful在Redmine(V 2.3.4)中創建一個問題。我已經閱讀了文檔並嘗試了一些不起作用的示例(HTTP代碼:404)。Redmine創建問題與REST API
POST http://easyredmine.digitronic.com/issues.xml
<?xml version="1.0"?>
<issue>
<project_id>1</project_id>
<subject>Example</subject>
<priority_id>4</priority_id>
</issue>
然後我想這和它的工作:
POST http://easyredmine.digitronic.com/projects/isda/issues.xml
<?xml version="1.0"?>
<issue>
<project_id>1</project_id>
<subject>Example</subject>
<priority_id>4</priority_id>
</issue>
我使用taskadapter管理平臺的API,它發來的第一種形式的請求。
你有沒有啓用[API式認證(http://www.redmine.org/projects/redmine/wiki/Rest_api #Authentication身份)? – jasonz