As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
I am still have problem using some APIs. We are using Alfresco 7.1.1, and I use Postman to call some APIs.
For authentication, to get a ticket I am usingPOST : https://xxx/alfresco/api/-default-/public/authentication/versions/1/tickets
The probleme is the next call using that ticket, and I receive a 401 response. Not all the time.
For exemple, to validate a ticket I use this API :GET : https://xxx/alfresco/api/-default-/public/authentication/versions/1/tickets/-me-with pm.request.headers.add("Authorization: Basic " + btoa("TICKET_xxx")); under the 'Pre-request Script' on Postman.
To delete a ticket, I use thisDELETE : https://xxx/alfresco/api/-default-/public/authentication/versions/1/tickets/-me-with pm.request.headers.add("Authorization: Basic " + btoa("TICKET_xxx"));
When I call those API either to validate a ticket or to delete a ticket, sometimes it worked, sometimes I got 401.Any idea why ?
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.