301 moved permanently On submitting data via Web API

Dear all,

I receive this code on submitting data to dhis2 v2.24 using web api.

HTTP/ 1.1 301 Moved Permanently…

Can someone assist me with the solution?

Thanks.

ThankGod

Hi

I’m not aware of this being sent anywhere from DHIS2. Are you using a reverse proxy? Probably the error is coming from that.

···

On Tue, Jul 4, 2017 at 8:31 PM, ThankGod Anazodo anazodothankgod@yahoo.com wrote:

Dear all,

I receive this code on submitting data to dhis2 v2.24 using web api.

HTTP/ 1.1 301 Moved Permanently…

Can someone assist me with the solution?

Thanks.

ThankGod


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

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

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

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

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

Hello Morten,

I later discovered that if I specify only the domain name without www in my curl arguments option it throws that error.

Its working now.

Thanks.

···

Sent from Yahoo Mail on Android

On Wed, Jul 5, 2017 at 1:54, Morten Olav Hansen > morten@dhis2.org wrote:

Hi

I’m not aware of this being sent anywhere from DHIS2. Are you using a reverse proxy? Probably the error is coming from that.

Morten Olav Hansen

Senior Engineer, DHIS 2

University of Oslo

http://www.dhis2.org

On Tue, Jul 4, 2017 at 8:31 PM, ThankGod Anazodo anazodothankgod@yahoo.com wrote:

Dear all,

I receive this code on submitting data to dhis2 v2.24 using web api.

HTTP/ 1.1 301 Moved Permanently…

Can someone assist me with the solution?

Thanks.

ThankGod


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

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

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

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