Hi Lars,
Here we go.
today=$(date +"%d-%m-%Y") && mfl=${today}_mfl.xml && dxf=${today}_dxf.xml
&& cd /home/dhis/logs && /usr/bin/curl "
http://api.ehealth.or.ke/http/getlastnfacilities.aspx?username=admin&password=x&count=10";
| xmlindent > "$mfl" && more
$m
Hi David,
do you think you could post your curl command?
Lars
On Thu, Jun 12, 2014 at 9:41 AM, Morten Olav Hansen
wrote:
> Did you set the content-type header? it's either that, or something is
> wrong with your data
>
> --
> Morten
>
>
> On Thu, Jun 12, 2014 at 9:37 AM, David Muturi wrote
Did you set the content-type header? it's either that, or something is
wrong with your data
--
Morten
On Thu, Jun 12, 2014 at 9:37 AM, David Muturi wrote:
> Hi Team,
> I am importing org unit data via the api using curl, on running the
> script, this is the error I am getting. Anyone who has d
Hi Team,
I am importing org unit data via the api using curl, on running the script,
this is the error I am getting. Anyone who has done this before and has an
idea what could be wrong ? I am doing this on DHIS 2.13
---
4 matches
Mail list logo