← Back to team overview

dhis2-users team mailing list archive

Re: Problem reading data values with the web api

 

You can also replace .XML with .json for an alternative view.
On May 15, 2015 6:19 AM, "Jason Pickering" <jason.p.pickering@xxxxxxxxx>
wrote:

> Hi Adam,
> This is not an error really, but just your browser telling you that it
> cannot render the XML which the API returns to it. You can use Google
> Chrome or Firefox and you will be able to see the XML. There are also
> browser plugins available which will render it more human readable form.
>
> Regards,
> Jason
>
>
> On Fri, May 15, 2015 at 3:36 AM Adam Uhuru <adam.uhuru@xxxxxxxxx> wrote:
>
>> Hi
>>
>> I am trying to read data values using the web api, and followed the
>> developer manual. I am getting this error message each time:
>>
>> This XML file does not appear to have any style information associated
>> with it. The document tree is shown below.
>>
>> This error happens when even typing the request on the browser this way
>> http://domain:port
>> /api/dataValueSets.xml?dataSet=ID1&orgUnit=ID2&period=201401
>>
>> Do you know what could raise this error ?
>>
>> Thank you for your help.
>>
>> Regards,
>> Adam
>> _______________________________________________
>> 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-users
> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-users
> More help   : https://help.launchpad.net/ListHelp
>
>

Follow ups

References