Hi Pooben Assuming that you want data from the same instance, not you don't want to use username/password, that would be very bad. Just fetch the resource directly, no authentication needed.
-- Morten Olav Hansen Senior Engineer, DHIS 2 University of Oslo http://www.dhis2.org On Fri, Nov 25, 2016 at 5:30 PM, Pooben Dass <[email protected]> wrote: > Hi Devs > > Is it necessary to include these parameters in a standard HTML Report > > chartPlugin.url = "http://localhost:9090/dhis"; > chartPlugin.username = "user"; > chartPlugin.password = "password"; > > If yes is there a script/api call to get the user password. > > > Regards > Pooben > > *This message and any attachments are subject to a disclaimer published at > http://www.hisp.org/policies.html#comms_disclaimer > <http://www.hisp.org/policies.html#comms_disclaimer>. Please read the > disclaimer before opening any attachment or taking any other action in > terms of this electronic transmission. If you cannot access the > disclaimer, kindly send an email to [email protected] > <[email protected]> and a copy will be provided to you. By replying to > this e-mail or opening any attachment you agree to be bound by the > provisions of the disclaimer.* > > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-devs > Post to : [email protected] > Unsubscribe : https://launchpad.net/~dhis2-devs > More help : https://help.launchpad.net/ListHelp > >
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

