diff --git a/developer_manual/client_apis/WebDAV/search.rst b/developer_manual/client_apis/WebDAV/search.rst index cb8bbf3d4..cd03a2480 100644 --- a/developer_manual/client_apis/WebDAV/search.rst +++ b/developer_manual/client_apis/WebDAV/search.rst @@ -13,14 +13,14 @@ full details of the api can be found at rfc5323_. Making search requests ---------------------- -Search requests can be made by sending a :code:`SEARCH` http request to :code:`cloud.example.com/remote.php/dav` +Search requests can be made by sending a :code:`SEARCH` http request to :code:`https://cloud.example.com/remote.php/dav/` with a content type of :code:`text/xml` and the query as xml in the request body. For example, to search for text files for the user 'test': .. code-block:: bash - curl -u username:password 'https://cloud.example.com/remote.php/dav/files/username/folder' -X SEARCH -u test:test -H "content-Type: text/xml" --data ' + curl -u username:password 'https://cloud.example.com/remote.php/dav/' -X SEARCH -u test:test -H "content-Type: text/xml" --data '