...
Code Block |
---|
curl -i -X POST -H "Content-Type:text/plain" "http://localhost:8080/rest?mixin=fedora:datastream" # Create a fedora:datastream with empty content |
Response:
Code Block |
---|
Status: 201 Created ETag: "487f188240d2be3ae32d49958c0eeea18224be0a" Last-Modified: Thu, 29 May 2014 15:46:13 GMT Location: http://localhost:8080/rest/b8/fc/32/be/b8fc32be-34be-428e-bf7c-81be97e5f2e3/fcr:content Content-Type: text/plain Transfer-Encoding: chunked |
...