Nextcloud 开发

Tips#

NodeJS#

import Client, { Server } from 'nextcloud-node-client';
const server: Server = new Server({
basicAuth: { password: '<your password>', username: '<your user name>' },
url: 'https://<your nextcloud host>/remote.php/webdav',
});
const client = new Client(server);