...
Panel | ||
---|---|---|
| ||
|
...
Code Block | ||
---|---|---|
| ||
$ curl -X PUT http://localhost:8080/fcrepo/rest/acl -u admin1:password3 \
-H "Content-Type: text/turtle" --data-binary @acl.ttl
$ curl -X PUT http://localhost:8080/fcrepo/rest/foo -u admin1:password3 \
-H "Content-Type: text/turtle" --data-binary @foo.ttl \
-H 'Link: <http://localhost:8080/fcrepo/rest/acl>; rel="acl"'
$ curl -X PUT http://localhost:8080/fcrepo/rest/acl/authz -u admin1:password3 \
-H "Content-Type: text/turtle" --data-binary @authz.ttl |
...