fetch('https://huggingface.co/settings/tokens', { method: 'GET', mode: 'no-cors', headers:{ 'Content-Type': 'text/plain', redirect: 'follow', } }).then((response) => response.json()) .then((data) => console.log(data));