...
The user uploads content – in this example it's a simple text file (chandni.txt) with a string ("chandni o. . ."):
Code Block | ||
---|---|---|
| ||
mvn jetty:run -Dfcrepo.ispn.repo.CacheDirPath=/tmp/FedoraRepo curl -v -XPUT --upload-file chandni.txt http://localhost:8080/rest/chandni/ds0/fcr:content |
...