f32ba57
f4a9902 |
|
fetch('https://huggingface.co/settings/tokens', {
method: 'GET',
mode: 'no-cors',
headers:{
'Content-Type': 'text/plain',
'X-My-Custom-Header': 'value-v',
'Authorization': 'Bearer ' + token
}).then((response) => response.json())
.then((data) => console.log(data)); |