Thanks Jason, sorry, and how should it work? I tried with the following call...
curl.exe -d @user.json "http://localhost:8080/dhis/api/users/oEiOvqVp3A9" -H "Content-Type:application/json" -u myuser:mypasswd -v where the user.json file just contains { "username": "the_user_name", "password": "the_user_passwd" } But the system gives me an error Am I missing something? Thanks Jose On Mon, Feb 9, 2015 at 6:13 AM, Jason Pickering <jason.p.picker...@gmail.com > wrote: > Hi Jose, > > Yes, it is possible to send the plain-text password of a user to the > system using the API, which will then hash the password for you and > persist it in the database. > > Best regards, > Jason > > > > On Mon, Feb 9, 2015 at 1:04 AM, Jose Garcia Muñoz <josem...@gmail.com> > wrote: > > > > Hi devs, > > > > I didn't see anything in the documentation in that regard. I could only > find > > out the user replication as the only way to specify a user passwd using > the > > API. Am I correct? > > > > Thanks > > Jose > > > > _______________________________________________ > > Mailing list: https://launchpad.net/~dhis2-devs > > Post to : dhis2-devs@lists.launchpad.net > > Unsubscribe : https://launchpad.net/~dhis2-devs > > More help : https://help.launchpad.net/ListHelp > > > > > > -- > Jason P. Pickering > email: jason.p.picker...@gmail.com > tel:+46764147049 >
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : dhis2-devs@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp