You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

This is all about hacking around with a running Sling and just a curl on the command line. It concentrates on the default servlets in Sling that provide json representations of JCR nodes and properties and allow for POSTing with normal forms to update properties.

GETting a json representation:

The "-s" means silent, ie. no download progress indicator displayed.

POSTing:

Add parameter "-v" to see the HTTP headers in the console.

  • No labels