...
(See above) Status subtle true title SLug
The filename provided in the content disposition header will be stored in a premis:hasOriginalName property. Status subtle true title Content-DISPOSITION
Query Parameters:
Status subtle true title checksum
Example (1):
Code Block |
---|
curl -X POST -d "@image.jpg" "http://localhost:8080/rest/path/to/new/resource/fcr:content"
Body:
<binary content> |
Response (1):
Code Block |
---|
Status: 201 Created
Headers:
Location: http://localhost:8080/rest/path/to/new/resource/fcr:content |
Example (2):
Code Block |
---|
curl -X POST -d "@image.jpg" -H "Content-Disposition: inline; filename=\"image.jpg\"" "http://localhost:8080/rest/path/to/new/resource/fcr:content" Body: <binary content> |
Response (2):
Code Block |
---|
Status: 201 Created Headers: Location: http://localhost:8080/rest/path/to/new/resource/fcr:content |
...