Re: [Dhis2-devs] CORS whitelist

2015-10-08 Thread Jan Henrik Ă˜verland
Hi Sourabh, It's not clear to me what you want to do. You say you want to read data from http://shifw.nrhmharyana.gov.in (which is not a DHIS2 instance?). If you have an app running on *mydomain.org

[Dhis2-devs] CORS whitelist

2015-10-08 Thread Sourabh Bhardwaj
Hi, I want to pull data from third party and I have added the domain to CORS Whitelist in >Settings>Access>CORS Whitelist but still it is giving the same error: *xmlhttprequest Like: *XMLHttpRequest cannot load the requested url . Can anybody help ? Thanks & Regards, Sourabh Bhardwaj ___

Re: [Dhis2-devs] CORS whitelist

2015-10-08 Thread Morten Olav Hansen
Hi Looking at your URL, I think you are enabling CORS in the wrong end. The server you are requesting from is not DHIS2? You need that server to support CORS, not the server you are making the request from. -- Morten On Wed, Oct 7, 2015 at 12:26 PM, Sourabh Bhardwaj wrote: > Hi, > > I want to

[Dhis2-devs] Cors Whitelist.

2015-10-08 Thread Sourabh Bhardwaj
Hi, I want to pull data from third party and I have added the domain to CORS Whitelist >Settings>Access>CORS Whitelist) but still it is giving the error: *xmlhttprequest * *: *XMLHttpRequest cannot load the requested url . Following is the url which returns data in Xml and we want to read

Re: [Dhis2-devs] Cors Whitelist.

2015-10-08 Thread Morten Olav Hansen
Hi can you give the full error? if its related to CORS, usually it would say "cross origin requests are not allowed" etc -- Morten On Thu, Oct 8, 2015 at 2:39 PM, Sourabh Bhardwaj wrote: > Hi, > > I want to pull data from third party and I have added the domain to CORS > Whitelist >Settings>Ac