Skip to content

Instantly share code, notes, and snippets.

View cculb's full-sized avatar

Chris Culbreth cculb

  • Time Warner Cable
  • Denver, CO
View GitHub Profile
@cculb
cculb / gist:fd13ba4b219db8407710
Created November 6, 2015 17:05 — forked from sergeimuller/gist:2916697
CQ5 curl commands
Note 1: The following CQ curl commands assumes a admin:admin username and password.
Note 2: For Windows/Powershell users: use two "" when doing a -F cURL command.
Example: -F"":operation=delete""
Note 3: Quotes around name of package (or name of zip file, or jar) should be included.
Uninstall a bundle (use http://localhost:4505/system/console/bundles to access the Apache Felix web console)
curl -u admin:admin -daction=uninstall http://localhost:4505/system/console/bundles/"name of bundle"
Install a bundle
curl -u admin:admin -F action=install -F bundlestartlevel=20 -F