/api/item/addFromURLs
var data = {
"items": [
{
"url": "https://cdn.dribbble.com/users/674925/screenshots/12020761/media/6420a7ec85751c11e5254282d6124950.png",
"name": "Work",
"website": "https://dribbble.com/shots/12020761-Work",
"tags": ["Illustration", "Design"],
"modificationTime": 1591325171767,
"headers": {
"referer": "dribbble.com"
}
},
{
"url": "https://cdn.dribbble.com/users/674925/screenshots/12061400/media/71da9ba40c47f09d8cd6953d661e61fd.png",
"name": "Work2",
"website": "https://dribbble.com/shots/12061400-work2",
"tags": ["Illustration", "Design"],
"modificationTime": 1591325171766,
"headers": {
"referer": "dribbble.com"
}
}
],
"folderId": "KAY6NTU6UYI5Qa"
};
var requestOptions = {
method: 'POST',
body: JSON.stringify(data),
redirect: 'follow'
};
fetch("http://localhost:41595/api/item/addFromURLs", requestOptions)
.then(response => response.json())
.then(result => console.log(result))
.catch(error => console.log('error', error));Last updated