Post

2 followers Follow
1
Avatar

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

Elton Qevani

Please sign in to leave a comment.

1 comment