rundeck:无法对API进行身份验证

时间:2017-09-05 05:15:41

标签: java authentication httprequest rundeck

我正在使用启动器在Windows Server 2012 R2上使用rundeck解决方案。我无法对API进行身份验证。我从管理员帐户创建了一个令牌,甚至尝试使用管理员帐户凭据(我登录到rundeck GUI的那些)的第二个身份验证解决方案用户名/密码,但我总是得到同样的错误......

<result error="true" apiversion="20">
   <error code="unauthorized">
     <message>
       (unauthenticated) is not authorized for: /api/20/projects
     </message>
   </error>
</result>

我没有更多的想法如何解决这个问题。有人可以帮我一把吗?

干杯队员, 凯文

1 个答案:

答案 0 :(得分:0)

已解决 - 不明白帖子请求必须是内容类型application / x-www-form-urlencoded