Hi Devs
Is it possible to do a POST using a zip/gzip file via the API?
Kind regards
Pooben
This message and any attachments are subject to a disclaimer published at http://www.hisp.org/policies.html#comms_disclaimer. Please read the disclaimer before opening any attachment or taking any other action in terms of this electronic transmission. If you cannot access the disclaimer, kindly send an email to disclaimer@hisp.org and a copy will be provided to you. By replying to this e-mail or opening any attachment you agree to be bound by the provisions of the disclaimer.
It is possible. Just do post with a zip file as binary content, but keep the content type Application/add+xml
It works both for synchronous and async imports.
Note, that at some point in earlier revisions of 2.27 and prior versions, content type was application/xml+adx
ยทยทยท
On Fri, Aug 24, 2018, 14:45 Pooben Dass pooben@hisp.org wrote:
Hi Devs
Is it possible to do a POST using a zip/gzip file via the API?
Kind regards
Pooben
This message and any attachments are subject to a disclaimer published at http://www.hisp.org/policies.html#comms_disclaimer. Please read the disclaimer before opening any attachment or taking any other action in terms of this electronic transmission. If you cannot access the disclaimer, kindly send an email to disclaimer@hisp.org and a copy will be provided to you. By replying to this e-mail or opening any attachment you agree to be bound by the provisions of the disclaimer.
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