Example: Storing an object

Content Platform Tenant Management Help

Version
9.7.x
File Size
4269 KB
Audience
anonymous
Part Number
MK-95HCPH002-19

Here’s a sample WebDAV PUT request that stores a new object named Q1_2012.ppt in the presentations directory.

Request with cadaver command line

put Q1_2012.ppt presentations/Q1_2012.ppt

Request headers

PUT /webdav/data/presentations/Q1_2012.ppt HTTP/1.1
Host: finance.europe.hcp.example.com
Content-Length: 238592

Response headers

HTTP/1.1 201 Created
Content-Length: 0