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 <[email protected]> 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     : [email protected]
> 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 <https://www.dhis2.org>
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to