Marklogic v1/REST API创建的事务:错误

Marklogic v1/REST API创建的事务:错误,marklogic,Marklogic,在SOAPUI工具中调用以下Rest服务时,我遇到以下错误: http://localhost:7060/v1/transactions Error : HTTP/1.1 401 Unauthorized Server: MarkLogic WWW-Authenticate: Basic realm=public Content-Type: application/json; charset=utf-8 Content-Length: 104 Connection: Keep-Alive

在SOAPUI工具中调用以下Rest服务时,我遇到以下错误:

http://localhost:7060/v1/transactions 

Error : 
HTTP/1.1 401 Unauthorized
Server: MarkLogic
WWW-Authenticate: Basic realm=public
Content-Type: application/json; charset=utf-8
Content-Length: 104
Connection: Keep-Alive
Keep-Alive: timeout=5

{"errorResponse":   {"statusCode":401,
   "status":"Unauthorized",
   "message":"401 Unauthorized"
  }
}
在浏览了下面的链接后,我认为它与内容类型有关,我尝试了文本/纯文本,但仍然不起作用,有什么帮助吗


尝试将管理控制台中MarkLogic REST API服务器中的身份验证设置更改为digestbasic,并在REST客户端中使用HTTP Basic Auth Basic{TOKEN},以确保您在授权标头中的登录凭据正确。

看起来用户或密码不正确。你在用邮局吗?您是否尝试过其他REST客户端,如curl?@ehennum所有其他REST操作都正常工作。当我尝试与Post man相同的请求时,其正常工作,但在postman中收到的响应状态代码为200,而不是303,如文档和响应正文中所示为7341689848759709324