Assuming the following:
- Webdav share URL:
http://example.com/dav/
- Username:
user
- Password:
pass
curl options:
-u username:password
use HTTP Basic authorization with the folowing username and password-X GET
send a request with GET method. You can use any other methods here.