OK
const response = await fetch('https://api.zydon.com.br/api/sales/categories/tree', { method: 'GET', headers: { "Authorization": "Bearer JWT" }, }); const data = await response.json();
[ { "id": "text", "name": "text", "active": false, "children": [] } ]