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.
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.
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.
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.
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.
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.
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.