[Dhis2-devs] Regarding api calling(authorization) from internal app

2018-04-18 Thread Shubham Goyal
hi All, I'm building a React app, While calling an api inside the app, it give an error (Unexpected token < in JSON at position 0). In debugger it shows that the api url redirected to the login page. Where as i'm already logged in the system, and install the app in the system. the code is written

[Dhis2-devs] Access to Demo Site

2018-04-18 Thread Ifeanyi Okoye
Hello Everyone,I have been trying to access the DHIS2 demo site but it keeps saying wrong user name or password. Anyone else having this issue? Warm Regards, Ifeanyi Read DrMaestro's Blog www.ifeanyiokoye.com ___ Mailing list: https://launchpad.net/~

Re: [Dhis2-devs] [Dhis2-users] Access to Demo Site

2018-04-18 Thread Bridget Magoba
Hi Ifeanyi, You can try creating your own account, there is a green button at the top right corner. From: Dhis2-users [mailto:dhis2-users-bounces+bridgetmagoba=mifumi@lists.launchpad.net] On Behalf Of Ifeanyi Okoye Sent: Wednesday, April 18, 2018 3:43 PM To: DHIS 2 Users List; DHIS 2 Dev

Re: [Dhis2-devs] [Dhis2-users] Access to Demo Site

2018-04-18 Thread Jim Grace
It looks like someone changed the admin password (which is within the authorities of the admin user). It should be back tomorrow when the system is reset. Meanwhile, I agree that the best thing is just create your own account. Cheers, Jim On Wed, Apr 18, 2018 at 9:08 AM, Bridget Magoba wrote:

[Dhis2-devs] API not showing 401 Unauthorized error

2018-04-18 Thread Rangarirai Matavire
Hi Devs, I am wondering whether the behaviour I am seeing is a bug or something to be expected due to some change. When I run the following curl command: curl -I -u admin:distric -H 'Accept: application/json' https://play.dhis2.org/2.29/api/me I get an HTTP 302 response. Note that I have delibe

Re: [Dhis2-devs] Get number of days between two event dates in different program stages

2018-04-18 Thread Marko David Garcia
Hello friends!. Is there a solution for 2.25 version?. Thank you very much. Regards. Cordialmente, *Marko David Garcia M.* *Skype: marko_david* 2018-04-11 1:54 GMT-05:00 Edouard Lavaud : > Hi Rady, > > I used a kind of hack for doing that: > > I first used a program rule to copy the event_date