I found out that Basic authentication actually does work! Maybe something is wrong with the token generator? I changed the transfer method and now it is working. async function transfer(blob) {
await axios({
method: "put",
url: `https://${_ipAddress}/solutions/webdav/appdata/test/test.txt`,
data: blob,
headers: { "Content-Type": "application/json" },
auth: {
username: _username,
password: _password,
}
});
// Add error handling
console.log('Transfer success...');
}
... View more