REST API - node

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2023 02:35 AM
Hi Team;
I followed the tutorial as below to developing a simple JavaScript client using the Alfresco REST API.
'https://community.alfresco.com/docs/DOC-6802-alfresco-one-rest-api-previewing-content'
When I press the button 'go' , browser return error code 401, please refer the first image as below.
But the same URL, Username, Password in Postman is OK, as you see in the second image below.
Could you please tell me how to solve it? Thanks a lot.
Image 2:
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2023 05:52 AM
Check your source code, probably your JavaScript snippet is not passing authentication header with credentials.
