09-04-2020 07:34 AM
Hi
I have a question
I have user with "id" for example = "A/B" (unfortunatelly the / symbol is accepted in activiti)
If I run the API as
http://localhost:8080/activiti-app/api/identity/users/A/B
I receiving a "not found" error (bad url etc..)
If I run
http://localhost:8080/activiti-app/api/identity/users?id=A%2FB
or
http://localhost:8080/activiti-app/api/identity/users?id=A/B
it return it
{"data":[{"id":"A/B","firstName":"ad","lastName":"","url":"http://localhost:8080/activiti-app/api/identity/users/A/B","email":null,"pictureUrl":null}],"total":1,"start":0,"sort":"id","order":"asc","size":1}
An you can see also the "url" but that URL is not working.. i can be clear because it seems a "wrong" syntx (different meaning)
I also try using encoding and so as
http://localhost:8080/activiti-app/api/identity/users/A%2FB
but the same
How can I use the (idendity/users/<id> API? in this cases ?
(all is working fine if the id is not containing / symbol)
thanks
Explore our Alfresco products with the links below. Use labels to filter content by product module.