OpenGroupware Coils Wiki
Status: Beta
Brought to you by:
whitemice
curl --verbose -u awilliam:fred123 -X LOCK -H 'Timeout: Second-3600' \
-d '<?xml version="1.0" encoding="utf-8" ?>
<D:lockinfo xmlns:D="DAV:">
<D:lockscope><D:exclusive/></D:lockscope>
<D:locktype><D:write/></D:locktype>
<D:owner><D:href>awilliam</D:href></D:owner>
</D:lockinfo>' http://127.0.0.1:8080/dav/Projects/test123/Documents/ComericaPositivePayIn.yaml
curl --verbose -u awilliam:fred123 -X UNLOCK \
-H 'Lock-Token: <opaquelocktoken:08e7b8a645c7423eb4ddccd0fec80fc2>' \
http://127.0.0.1:8080/dav/Projects/test123/Documents/ComericaPositivePayIn.yaml
Response will be an empty 204.