Sign in to Community
Sign in to view all badges
I want to update the user profile using curl command. For example, I want to set profile/age=30 for a user.
So this is the command I am using.
curl -u admin:admin -Fprofile/age=30 http://localhost:4502/home/users/JLhct5w1LuPVxGs0X5D5u.rw.html
It updates alright. But the problem is the age property type is a String instead of Long. How can I set the age type to "Long" in Curl command? I tried -Fprofile/age@TypeHint=Long, but it doesn't work.