Getting list of Documents of document library for perticular site

cancel
Showing results for 
Search instead for 
Did you mean: 
rasika_g
Member II

Getting list of Documents of document library for perticular site

Hi,

I am using alfresco cummunity edition version 6.2.

I have been tring to retrive documents from document library by using 

this. but I am getting 401 error... tried it with post man it is giving me this reponce:-
<html>
 
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
    <title>Error 401 Invalid password/token for user: test</title>
</head>
 
<body>
    <h2>HTTP ERROR 401</h2>
    <p>Problem accessing /alfresco/api/-default-/public/alfresco/versions/1/nodes/-root-/children. Reason:
        <pre>    Invalid password/token for user: test</pre>
    </p>
    <hr><a href="http://eclipse.org/jetty">Powered by Jetty:// 9.4.z-SNAPSHOT</a>
    <hr />
 
</body>
 
I am getting this responce even though i have set the basic auth .
 
need a help.
 
Thanks in advance!
 
</html>
1 Reply
kintu_barot
Senior Member

Re: Getting list of Documents of document library for perticular site

Ideally, it should be accessible.

Please, try with different user or admin user and try to call the API on the browser.

 

Regards,
Kintu