1
0
Fork 0
mirror of synced 2024-09-18 18:40:24 +12:00
appwrite/docs/examples/0.9.x/client-web/examples/storage/get-file-view.md
2021-07-01 22:21:07 +05:30

243 B

let sdk = new Appwrite();

sdk .setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint .setProject('5df5acd0d48c2') // Your project ID ;

let result = sdk.storage.getFileView('[FILE_ID]');

console.log(result); // Resource URL