...
Note | ||
---|---|---|
| ||
Use the Sling users mailing lists for that, see http://sling.apache.org/site/project-information.html#ProjectInformationhtml#mailing-lists If you find anything wrong in the Sling site or in and on the Wiki, do not hesitate to also contact the user's mailing list. Thanks. |
Table of Contents | ||||
---|---|---|---|---|
|
...
Code Block |
---|
curl -F"greetings=Hello, World!" -F"multmulti=first" -F"multi=second" -F"translations/en=Hello" -F"translations/zh=你好" http://admin:admin@localhost:8080/content/../../.. |
...
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
...
do 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 |
...