Where do I place the metadata file when uploading

hello,

Where do I place or put the metadata file when uploading, when using curl.

curl -H “Content-type: Application/xml” -u admin:district -d @ metaData.xml “http://localhost:8082/api/metaData” -X POST -v

Hi Moses,

you have a space too much between @ and the file, should be:

-d @metaData.xml

File can be in the same directory as you invoke the command.

Lars

···

On Fri, Sep 11, 2015 at 1:04 PM, moses mwale isoftcom.ic@gmail.com wrote:

hello,

Where do I place or put the metadata file when uploading, when using curl.

curl -H “Content-type: Application/xml” -u admin:district -d @ metaData.xml “http://localhost:8082/api/metaData” -X POST -v


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

Lars Helge Øverland

Lead developer, DHIS 2

University of Oslo

Skype: larshelgeoverland

http://www.dhis2.org