How can i get all files or images from a folder using angular/.net?
rwahdan
Member Posts: 51 ✭
I am trying to get all files inside a folder in cloudinary. I read the documentation but it is writeen for node.
var cloudinary = require('cloudinary');
cloudinary.config({
cloud_name: "xx", // add your cloud_name
api_key: "xx", // add your api_key
api_secret: "xx", // add your api_secret
secure: true
});
cloudinary.v2.api.resources({
type: 'upload',
prefix: 'xx' // add your folder
},
function(error, result) { console.log(result, error) });
how to do that for angular and my api is .net8
0
Answers
-
Hi @rwahdan - if you go here: https://cloudinary.com/documentation/admin_api#get_resources_by_asset_folder_examples
you can select the tab for .NET to see the code example.
0