[Dhis2-users] Data sets complete registrations throught web api

2016-10-07 Thread marcgarnica13
Hi all, I’m trying to complete data sets registration using DHIS2 web api, I’m currently using curl as below: curl -x POST “server/api/completeDataSetRegistrations?ds=xxx&pe=2011&ou=xxx” -u user:password -v And I’m always getting a http error code 406 , could not find acceptable representatio

Re: [Dhis2-users] Data sets complete registrations throught web api

2016-10-07 Thread Lars Helge Øverland
Hi Marc, this is admittedly a bit strange and we should improve it. Try defining the acceptable response representation: -H "Accept: text/plain" regards, Lars On Fri, Oct 7, 2016 at 3:20 PM, wrote: > Hi all, > > > > I’m trying to complete data sets registration using DHIS2 web api, I’m