THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
GETting a json representation:
curl -s -u admin:admin http://localhost:8080/wcms/content/geometrixxpath/en/jcr:content/cq:tagsto/node.infinity.json
The "-s" means silent, ie. no download progress indicator displayed.
Note |
---|
The Sling default servlet may respond with a 300 and a json array containing the deepest level of recursion that is possible, as infinity can return a lot of data on a large repository. |
POSTing:
- single value property:
curl -F "property=value" -u user:password http://localhost:8080/content/path/to/node
- multi value propery:
curl -F "property=value1" -F "property=value2" -u user:password http://localhost:8080/content/path/to/node
Add parameter "-v" to see the HTTP headers in the console.