diff --git a/README.md b/README.md index a964913..17bb190 100644 --- a/README.md +++ b/README.md @@ -121,7 +121,7 @@ If you use cURL you need to make 3 calls: 1. `curl -F "file_1=@$" "/webservice/upload.php?token=$` 1.1 Copy the item id of the response. 2. `curl "/webservice/rest/server.php?wstoken=$&moodlewsrestformat=json&wsfunction=core_user_add_user_private_files&draftid=$` -3. `curl -sS "/webservice/rest/server.php?wstoken=$&wsfunction=local_ws_fileassistant_create_file_resource&filename=$&courseid=$§ionnumber=$&displayname=$"` +3. `curl -sS "/webservice/rest/server.php?wstoken=$&wsfunction=local_rsync_create_file_resource&filename=$&courseid=$§ionnumber=$&displayname=$"` ## Acknowledgements