06-27-2024 02:59 AM
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-26-2024 12:22 AM
Hello,
Can you provide the payload or the request body for the ticket validation?
07-29-2024 02:54 AM
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.