<?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 Re: 401 : Consistent response in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/401-consistent-response/m-p/147914#M39131</link>
    <description>&lt;P&gt;The term "consistent response" in the context of a 401 error is not a standard HTTP term. However, if you're referring to a consistent response in general, it means that the server consistently responds with a 401 status code whenever unauthorized access is detected.&lt;/P&gt;</description>
    <pubDate>Mon, 22 May 2023 08:10:25 GMT</pubDate>
    <dc:creator>Dennis236</dc:creator>
    <dc:date>2023-05-22T08:10:25Z</dc:date>
    <item>
      <title>401 : Consistent response</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/401-consistent-response/m-p/147913#M39130</link>
      <description>&lt;P&gt;&lt;BR /&gt;I am still have problem using some APIs. We are using Alfresco 7.1.1, and I use Postman to call some APIs.&lt;/P&gt;&lt;P&gt;For authentication, to get a ticket I am using&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;POST : &lt;A href="https://xxx/alfresco/api/-default-/public/authentication/versions/1/tickets" target="_blank" rel="noopener nofollow noreferrer"&gt;https://xxx/alfresco/api/-default-/public/authentication/versions/1/tickets&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The probleme is the next call using that ticket, and I receive a 401 response. Not all the time.&lt;/P&gt;&lt;P&gt;For exemple, to validate a ticket I use this API :&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;GET : &lt;A href="https://gecod.anfr.fr/alfresco/api/-default-/public/authentication/versions/1/tickets/-me-" target="_blank" rel="noopener nofollow noreferrer"&gt;https://xxx/alfresco/api/-default-/public/authentication/versions/1/tickets/-me-&lt;/A&gt;&lt;/FONT&gt;&lt;BR /&gt;with &lt;FONT face="courier new,courier"&gt;pm.request.headers.add("Authorization: Basic " + btoa("TICKET_xxx"));&lt;/FONT&gt; under the 'Pre-request Script' on Postman.&lt;/P&gt;&lt;P&gt;To delete a ticket, I use this&lt;BR /&gt;&lt;FONT size="2" face="courier new,courier"&gt;DELETE : &lt;A href="https://gecod.anfr.fr/alfresco/api/-default-/public/authentication/versions/1/tickets/-me-" target="_blank" rel="noopener nofollow noreferrer"&gt;https://xxx/alfresco/api/-default-/public/authentication/versions/1/tickets/-me-&lt;/A&gt;&lt;/FONT&gt;&lt;BR /&gt;with &lt;FONT size="2" face="courier new,courier"&gt;pm.request.headers.add("Authorization: Basic " + btoa("TICKET_xxx"));&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;When I call those API either to validate a ticket or to delete a ticket, sometimes it worked, sometimes I got 401.&lt;BR /&gt;Any idea why ?&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 19:27:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/401-consistent-response/m-p/147913#M39130</guid>
      <dc:creator>nusa</dc:creator>
      <dc:date>2023-05-17T19:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: 401 : Consistent response</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/401-consistent-response/m-p/147914#M39131</link>
      <description>&lt;P&gt;The term "consistent response" in the context of a 401 error is not a standard HTTP term. However, if you're referring to a consistent response in general, it means that the server consistently responds with a 401 status code whenever unauthorized access is detected.&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 08:10:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/401-consistent-response/m-p/147914#M39131</guid>
      <dc:creator>Dennis236</dc:creator>
      <dc:date>2023-05-22T08:10:25Z</dc:date>
    </item>
  </channel>
</rss>

