const response = await fetch('/v1/assets', { method: 'GET', headers: { "Authorization": "Bearer Bearer" }, }); const data = await response.json();
const response = await fetch('/v1/assets/{id}', { method: 'GET', headers: { "Authorization": "Bearer Bearer" }, }); const data = await response.json();