THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Now you should be able to see an HTML version of the resource at http://localhost.local:8080/content/greet. This script matches the sling:resourceType we set and the HTTP method we used. Note that resourceType matches must be exact.
How to I create a multi-value property with a single value, in HTTP?
Use this:
Code Block |
---|
curl -u admin:admin -F'foo=bar' -F'foo@TypeHint=String[]' http://localhost:8080/some/path
|
The TypeHint tells the Sling POST servlet to create a multi-value property for foo.
Scripts and Servlets
How do I generate links to previous versions of a node?
...