This is the command I've used: curl -u admin:password -X POST -H "Content-Type:application/json" -d @/vagrant/license.json http://lmb-artifactory-server:8081/artifactory/api/system/license >> /vagrant/license.log
The command works from the console but doesn't work when I run it from a bash script. Any idea why? -- View this message in context: http://forums.jfrog.org/Installing-license-using-REST-API-tp7580097.html Sent from the Artifactory - Users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Artifactory-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/artifactory-users
