06-26-2024 11:59 PM
Hi I am using alfresco community edition 6.0, I tried to use alfresco rest api.
using POST: http://127.0.0.1:8080/alfresco/api/-default-/public/authentication/versions/1/tickets in post I generated a ticket.
But when I went to validate the ticke by using GET: http://127.0.0.1:8080/alfresco/api/-default-/public/authentication/versions/1/tickets/-me- in postman, I am receiving some error.
Error:
07-25-2024 09:22 PM
Hello,
Can you provide the payload or the request body for the ticket validation?
07-28-2024 11:54 PM
To validate ticket it must be encoded like this.
btoa("my_ticket_value");
The API explorer gives the javascript example:
request.setRequestHeader ("Authorization", "Basic " + btoa(ticket));
So, in the postman it will be like this:
Explore our Alfresco products with the links below. Use labels to filter content by product module.