Upload to Nextcloud via Webdav OCS API - MKCOL ist not allowed

I want to upload files to a Nextcloud Instance. Before I can Upload I need to create the folders if they dont exist. Typically on a WebDAV u use MKCOL but using this method I get this error:

code: ERROR_CODE_INPUT_ERROR,message: Input 'MKCOL' is not one of the allowable values.,param: method

So looks like the method is not allowed? Really?😔

Working with APIs
1 reply