[Dhis2-users] Problem retrieving raw data

2014-07-13 Thread Knut Staring
Hi, I'm trying to retrieve some raw data through the API (not going via Analytics). This is described in the manual: https://www.dhis2.org/doc/snapshot/en/user/html/ch31s09.html#d5e8089 But I cannot get the following to work - have things changed? curl

Re: [Dhis2-users] Problem retrieving raw data

2014-07-13 Thread Knut Staring
Ok, it works if I bypass the certificate checking by adding -k to the end. Knut On Sun, Jul 13, 2014 at 1:38 PM, Knut Staring knu...@gmail.com wrote: Hi, I'm trying to retrieve some raw data through the API (not going via Analytics). This is described in the manual:

Re: [Dhis2-users] Problem retrieving raw data

2014-07-13 Thread Lars Helge Ă˜verland
OK weird, works on ubuntu without -k, maybe a windows issue. On Sun, Jul 13, 2014 at 1:44 PM, Lars Helge Ă˜verland larshe...@gmail.com wrote: Hi, it works, there is just no data for that combination. regards, Lars On Sun, Jul 13, 2014 at 1:38 PM, Knut Staring knu...@gmail.com wrote:

Re: [Dhis2-users] Problem retrieving raw data

2014-07-13 Thread Knut Staring
Yes, probably. I used curl as installed with the usually excellent Gow tool for Windows: https://github.com/bmatzelle/gow We should probably change 2012 to 2013 in the manual (and then 2014 in a few months...) Also, some may find it more intuitive to have a look in directly in the browser first

Re: [Dhis2-users] Problem retrieving raw data

2014-07-13 Thread Bob Jolliffe
Hi Knut I see the gow tools are distributed as simple binary exe files. Also they are windows native so probably compiled against the windows ssl libraries rather than openssl lib. From the curl docs here http://curl.haxx.se/docs/sslcerts.html I am sure your curl simply doesn't have access to