Example: Storing an object
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