Import a dar package using the REST API with curl

Uploading a package to XLD server that is not in importablePackages is possible by using POST /package/upload/{file:.*?}rest call.

curl -u<username>:<password> -X POST -H "content-type:multipart/form-data" http://<xl-deploy-server>:<xl-deploy-port>/deployit/package/upload/Test.dar -F fileData=@/tmp/test1-1.0.dar

Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.