<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic REST API - node in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/rest-api-node/m-p/129680#M35094</link>
    <description>&lt;P&gt;Hi Team;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I followed the tutorial as below to&amp;nbsp;developing a simple JavaScript client using the Alfresco REST API.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'&lt;A href="https://community.alfresco.com/docs/DOC-6802-alfresco-one-rest-api-previewing-content" target="_blank" rel="noopener nofollow noreferrer"&gt;https://community.alfresco.com/docs/DOC-6802-alfresco-one-rest-api-previewing-content&lt;/A&gt;'&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; When I press the button 'go' , browser return error code 401, please refer the first image as below.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; But the same URL, Username, Password in Postman is OK,&amp;nbsp; &lt;SPAN class=""&gt;as&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;you&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;see&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;the second&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;image&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;below&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Could you please tell me how to solve it? Thanks a lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="401.png" style="width: 691px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1622i0880445ED00934E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Image 2:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="postman.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1625iC0BA182438D11CD8/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Jan 2023 07:35:02 GMT</pubDate>
    <dc:creator>YanFeiHu</dc:creator>
    <dc:date>2023-01-02T07:35:02Z</dc:date>
    <item>
      <title>REST API - node</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/rest-api-node/m-p/129680#M35094</link>
      <description>&lt;P&gt;Hi Team;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I followed the tutorial as below to&amp;nbsp;developing a simple JavaScript client using the Alfresco REST API.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;'&lt;A href="https://community.alfresco.com/docs/DOC-6802-alfresco-one-rest-api-previewing-content" target="_blank" rel="noopener nofollow noreferrer"&gt;https://community.alfresco.com/docs/DOC-6802-alfresco-one-rest-api-previewing-content&lt;/A&gt;'&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; When I press the button 'go' , browser return error code 401, please refer the first image as below.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; But the same URL, Username, Password in Postman is OK,&amp;nbsp; &lt;SPAN class=""&gt;as&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;you&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;see&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;in&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;the second&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;image&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;below&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Could you please tell me how to solve it? Thanks a lot.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="401.png" style="width: 691px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1622i0880445ED00934E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Image 2:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="postman.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/1625iC0BA182438D11CD8/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jan 2023 07:35:02 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/rest-api-node/m-p/129680#M35094</guid>
      <dc:creator>YanFeiHu</dc:creator>
      <dc:date>2023-01-02T07:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: REST API - node</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/rest-api-node/m-p/129681#M35095</link>
      <description>&lt;P&gt;Check your source code, probably your JavaScript snippet is not passing authentication header with credentials.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Jan 2023 10:52:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/rest-api-node/m-p/129681#M35095</guid>
      <dc:creator>openpj</dc:creator>
      <dc:date>2023-01-13T10:52:07Z</dc:date>
    </item>
  </channel>
</rss>

