DHIS2 WEB API.

Hello?

I kindly need help linking DHIS2 to an external web portal. I’ve been trying to read through the DHIS2 web API documentation but I just can’t seem to crack it. I need to to be able to view data from DHIS2 database on an external web portal. Kindly assist.

Regards!

···

"The lion can’t miss the hunt!"

Hi Alex,

Add the external domain where you are calling the DHIS2 API from to the CORS white list. Then use any web method with headers including creditionals. You might find credentials referred to as withCredentials or credentials in CORS requests documentation.

Adeel

···

On Mon, 30 Jul 2018 at 16:53, Alex Kimeu kimeualexis@gmail.com wrote:

Hello?

I kindly need help linking DHIS2 to an external web portal. I’ve been trying to read through the DHIS2 web API documentation but I just can’t seem to crack it. I need to to be able to view data from DHIS2 database on an external web portal. Kindly assist.

Regards!


“The lion can’t miss the hunt!”


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Hi Alex,

May be this link will be helpfull to you http://dhis2trainingland.com/eportal/?p=1165

Thanks

···

On Mon, Jul 30, 2018 at 3:18 PM, Muhammad Adeel adeel@dhis2.org wrote:

Hi Alex,

Add the external domain where you are calling the DHIS2 API from to the CORS white list. Then use any web method with headers including creditionals. You might find credentials referred to as withCredentials or credentials in CORS requests documentation.

Adeel

On Mon, 30 Jul 2018 at 16:53, Alex Kimeu kimeualexis@gmail.com wrote:

Hello?

I kindly need help linking DHIS2 to an external web portal. I’ve been trying to read through the DHIS2 web API documentation but I just can’t seem to crack it. I need to to be able to view data from DHIS2 database on an external web portal. Kindly assist.

Regards!


“The lion can’t miss the hunt!”


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Thanks Vunda
I had never seen this, is it a new resource?

···

On Mon, Jul 30, 2018 at 3:18 PM, Muhammad Adeel adeel@dhis2.org wrote:

Hi Alex,

Add the external domain where you are calling the DHIS2 API from to the CORS white list. Then use any web method with headers including creditionals. You might find credentials referred to as withCredentials or credentials in CORS requests documentation.

Adeel

On Mon, 30 Jul 2018 at 16:53, Alex Kimeu kimeualexis@gmail.com wrote:

Hello?

I kindly need help linking DHIS2 to an external web portal. I’ve been trying to read through the DHIS2 web API documentation but I just can’t seem to crack it. I need to to be able to view data from DHIS2 database on an external web portal. Kindly assist.

Regards!


“The lion can’t miss the hunt!”


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp


Mailing list: https://launchpad.net/~dhis2-users

Post to : dhis2-users@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-users

More help : https://help.launchpad.net/ListHelp

Samuel Bwambale

+256 774889755