At this site I found this curl command:
curl -i -X PROPFIND http://example.com/webdav/ --upload-file - -H "Depth: 1" <<end
<?xml version="1.0"?>
<a:propfind xmlns:a="DAV:">
<a:prop><a:resourcetype/></a:prop>
</a:propfind>
end
I change http://example.com/webdav/ to http://localhost/uploads, where localhost is a wamp64 server and uploads is a WebDav directory. Many of the curl commands at the above site were similarly tested and work fine when issued from a CMD prompt on my local computer. However I cannot get the PROPFIND command to work. Pasting directly into the cmd prompt results in Bad request error. I then tried:
curl -i -X PROPFIND http://example.com/webdav/ --upload-file - -H "Depth: 1"
In the cmd prompt, and this resulted in the server response "HTTP 1.1 100 Continue" followed by a blank line and blinking cursor. I have researched the 100 Continue issue as it pertains to curl and have only found discussions and methods of avoiding getting that response, but no indication of how to send the data the server is expecting.
I am assuming that the "<<end <a:propfind xmlns:a="DAV:"> <a:prop <a:resourcetype/></a:prop> </a:propfind> end" constitutes the 100 Continue data that the server is waiting for, BUT HOW DO I SEND IT?