OK
const response = await fetch('//api/materials/list', { method: 'GET', headers: {}, }); const data = await response.json();
{ "message": "text", "data": [ { "id": "text", "filename": "text" } ], "success": false }