Web API Not Allowing Bulk Data Values Transfer on Demo Site

301 Moved Permanently

Moved Permanently

The document has moved here.

Hi,

I was trying to use the DHIS Web API to transfer a bulk of data values to the demo site but it returned an error. This is the XML file I was trying to process:

Below is the result I get (I have also attached a screenshot of what is fully returned):

301 Moved Permanently

Moved Permanently

The document has moved here.

Any help to get this working will be highly appreciated.

Regards,

Edwin

Hi

You need to use https when you are using cURL, it doesn’t forward automatically.

···

On Mon, Jun 1, 2015 at 4:03 PM, Edwin Mulwa eddiemu@gmail.com wrote:

301 Moved Permanently

Moved Permanently

The document has moved here.

Hi,

I was trying to use the DHIS Web API to transfer a bulk of data values to the demo site but it returned an error. This is the XML file I was trying to process:

Below is the result I get (I have also attached a screenshot of what is fully returned):

301 Moved Permanently

Moved Permanently

The document has moved here.

Any help to get this working will be highly appreciated.

Regards,

Edwin


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp


Morten

Hi Morten,

I tried that but I got the following error:

image

···

On Mon, Jun 1, 2015 at 12:20 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Hi

You need to use https when you are using cURL, it doesn’t forward automatically.


Morten

On Mon, Jun 1, 2015 at 4:03 PM, Edwin Mulwa eddiemu@gmail.com wrote:

301 Moved Permanently

Moved Permanently

The document has moved here.

Hi,

I was trying to use the DHIS Web API to transfer a bulk of data values to the demo site but it returned an error. This is the XML file I was trying to process:

Below is the result I get (I have also attached a screenshot of what is fully returned):

301 Moved Permanently

Moved Permanently

The document has moved here.

Any help to get this working will be highly appreciated.

Regards,

Edwin


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Depending on the version of curl you have downloaded, SSL may not work. You can try to get it running with SSL , as described here http://stackoverflow.com/questions/3562095/using-curl-to-get-a-https-webpage-in-windows-7

Regards,

Jason

image

···

On Tue, Jun 2, 2015 at 10:43 AM, Edwin Mulwa eddiemu@gmail.com wrote:

Hi Morten,

I tried that but I got the following error:


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

On Mon, Jun 1, 2015 at 12:20 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Hi

You need to use https when you are using cURL, it doesn’t forward automatically.


Morten

On Mon, Jun 1, 2015 at 4:03 PM, Edwin Mulwa eddiemu@gmail.com wrote:

301 Moved Permanently

Moved Permanently

The document has moved here.

Hi,

I was trying to use the DHIS Web API to transfer a bulk of data values to the demo site but it returned an error. This is the XML file I was trying to process:

Below is the result I get (I have also attached a screenshot of what is fully returned):

301 Moved Permanently

Moved Permanently

The document has moved here.

Any help to get this working will be highly appreciated.

Regards,

Edwin


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+46764147049

I usually use the cURL from this package [1], it has SSL compiled in.

[1] https://github.com/bmatzelle/gow/wiki

image

···

On Tue, Jun 2, 2015 at 3:47 PM, Jason Pickering jason.p.pickering@gmail.com wrote:

Depending on the version of curl you have downloaded, SSL may not work. You can try to get it running with SSL , as described here http://stackoverflow.com/questions/3562095/using-curl-to-get-a-https-webpage-in-windows-7

Regards,

Jason


Morten

On Tue, Jun 2, 2015 at 10:43 AM, Edwin Mulwa eddiemu@gmail.com wrote:

Hi Morten,

I tried that but I got the following error:


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+46764147049

On Mon, Jun 1, 2015 at 12:20 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Hi

You need to use https when you are using cURL, it doesn’t forward automatically.


Morten

On Mon, Jun 1, 2015 at 4:03 PM, Edwin Mulwa eddiemu@gmail.com wrote:

301 Moved Permanently

Moved Permanently

The document has moved here.

Hi,

I was trying to use the DHIS Web API to transfer a bulk of data values to the demo site but it returned an error. This is the XML file I was trying to process:

Below is the result I get (I have also attached a screenshot of what is fully returned):

301 Moved Permanently

Moved Permanently

The document has moved here.

Any help to get this working will be highly appreciated.

Regards,

Edwin


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Thanks Jason and Morten. I’ll test that and provide feedback.

image

···

On Tue, Jun 2, 2015 at 11:49 AM, Morten Olav Hansen mortenoh@gmail.com wrote:

I usually use the cURL from this package [1], it has SSL compiled in.

[1] https://github.com/bmatzelle/gow/wiki


Morten

On Tue, Jun 2, 2015 at 3:47 PM, Jason Pickering jason.p.pickering@gmail.com wrote:

Depending on the version of curl you have downloaded, SSL may not work. You can try to get it running with SSL , as described here http://stackoverflow.com/questions/3562095/using-curl-to-get-a-https-webpage-in-windows-7

Regards,

Jason

On Tue, Jun 2, 2015 at 10:43 AM, Edwin Mulwa eddiemu@gmail.com wrote:

Hi Morten,

I tried that but I got the following error:


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+46764147049

On Mon, Jun 1, 2015 at 12:20 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Hi

You need to use https when you are using cURL, it doesn’t forward automatically.


Morten

On Mon, Jun 1, 2015 at 4:03 PM, Edwin Mulwa eddiemu@gmail.com wrote:

301 Moved Permanently

Moved Permanently

The document has moved here.

Hi,

I was trying to use the DHIS Web API to transfer a bulk of data values to the demo site but it returned an error. This is the XML file I was trying to process:

Below is the result I get (I have also attached a screenshot of what is fully returned):

301 Moved Permanently

Moved Permanently

The document has moved here.

Any help to get this working will be highly appreciated.

Regards,

Edwin


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

It worked! Thanks alot!

Edwin

image

···

On Tue, Jun 2, 2015 at 12:37 PM, Edwin Mulwa eddiemu@gmail.com wrote:

Thanks Jason and Morten. I’ll test that and provide feedback.

On Tue, Jun 2, 2015 at 11:49 AM, Morten Olav Hansen mortenoh@gmail.com wrote:

I usually use the cURL from this package [1], it has SSL compiled in.

[1] https://github.com/bmatzelle/gow/wiki


Morten

On Tue, Jun 2, 2015 at 3:47 PM, Jason Pickering jason.p.pickering@gmail.com wrote:

Depending on the version of curl you have downloaded, SSL may not work. You can try to get it running with SSL , as described here http://stackoverflow.com/questions/3562095/using-curl-to-get-a-https-webpage-in-windows-7

Regards,

Jason

On Tue, Jun 2, 2015 at 10:43 AM, Edwin Mulwa eddiemu@gmail.com wrote:

Hi Morten,

I tried that but I got the following error:


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp

Jason P. Pickering
email: jason.p.pickering@gmail.com
tel:+46764147049

On Mon, Jun 1, 2015 at 12:20 PM, Morten Olav Hansen mortenoh@gmail.com wrote:

Hi

You need to use https when you are using cURL, it doesn’t forward automatically.


Morten

On Mon, Jun 1, 2015 at 4:03 PM, Edwin Mulwa eddiemu@gmail.com wrote:

301 Moved Permanently

Moved Permanently

The document has moved here.

Hi,

I was trying to use the DHIS Web API to transfer a bulk of data values to the demo site but it returned an error. This is the XML file I was trying to process:

Below is the result I get (I have also attached a screenshot of what is fully returned):

301 Moved Permanently

Moved Permanently

The document has moved here.

Any help to get this working will be highly appreciated.

Regards,

Edwin


Mailing list: https://launchpad.net/~dhis2-devs

Post to : dhis2-devs@lists.launchpad.net

Unsubscribe : https://launchpad.net/~dhis2-devs

More help : https://help.launchpad.net/ListHelp