I have this code bellow:
jQuery.ajax({
url: "https://test.sharepoint.com/sites/test/Negocio/_api/web/Folders('Historico')/Folders",
method: "GET",
headers: {
"Accept": "application/json; odata=verbose"
},
success: function (data) {
console.log(data);
},
error: function (error) {
console.log(error);
}
});
The code returns all subfolders, I want to insert for each subfolder the properties like title, created in this code:
<div id="SubFolders">
<div>
<label>SubFolder Title</label>
</div>
<div>
<p>Something else...</p>
</div>
</div>
Can someone help me?