Marklogic v1/transactions create by REST API : error -


i getting below error while calling below rest service in soapui tool :

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"   } } 

after going through below link think related content-type, tried text/plain still not working, around ?

marklogic v1/transactions create rest api

try changing authentication setting in marklogic rest api server in admin console "digestbasic" , use http basic auth ("basic {token}") in rest client ensure login credentials in authorization header correct.


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -