Sign in to Community
Sign in to view all badges
I am trying to use Sling @TypeHint to set profile/age = 30, which age is a Long data type.
So this is what I did in curl cmd
curl -u admin:admin -FcreateUser= -FauthorizableId=testuser -Frep:password=testuser -Fprofile/age@TypeHint=Long -Fprofile/age=30 -FintermediatePath="/home/users/test/" http://localhost:4501/libs/granite/security/post/authorizables
But this is not working. Can someone tell me how to fix this?
This is exactly what I wrote in the first thread. And it does not work.
This command puts age (String) = 30 and age@TypeHint (String) = "Long" in the user profile.