← Back to team overview

dhis2-users team mailing list archive

Re: [Dhis2-devs] Issue while using curl command

 

Hi

Did you follow all the instructions? remember that this db is cleaned every
night, so you will need to also do the part that sends data to the server.

--
Morten


On Sat, Mar 2, 2013 at 5:17 PM, Ola Hodne Titlestad <olati@xxxxxxxxxx>wrote:

> Forwarding to devs list.
>
> Ola
> -------
> On 2 Mar 2013 14:49, "Jibesh Patra" <goodboy007.pro@xxxxxxxxx> wrote:
>
>>  Hello all,
>>                 I am trying to follow
>> http://dhis2.org/doc/snapshot/en/user/html/ch23s09.html to understand
>> "Reading data values". When I try to use
>>
>> curl "http://apps.dhis2.org/demo/api/dataValueSets?dataSet=pBOMPrpg1QX&period=201201&orgUnit=DiszpKrYNg8";
>> -H "Accept:application/xml" -u admin:district -v
>>
>> I am expecting the output as demonstrated on the page, but instead, I am
>> getting the following as response
>>
>> <?xml version='1.0' encoding='UTF-8'?><dataValueSet xmlns=
>> "http://dhis2.org/schema/dxf/2.0"; <http://dhis2.org/schema/dxf/2.0>dataSet="pBOMPrpg1QX" period="201201" orgUnit="DiszpKrYNg8"/>* Closing
>> connection #0
>>
>> While using the same command about 10 days back, I was getting ditto
>> output as demonstrated on the page but all of a sudden this issue arises.
>>
>> Can anyone please explain me the issue and help me resolve it.
>>
>> Thank you,
>> --
>> Jibesh Patra
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~dhis2-users
>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~dhis2-users
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References