From ff119ea7ba4c2acbb74a57e277fe5b71dbbf8db0 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Wed, 4 Jul 2018 10:12:59 +0200 Subject: [PATCH] Fix search example URL Signed-off-by: Morris Jobke --- developer_manual/client_apis/WebDAV/search.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 '