Get user profile-picture without login

I don’t know axious

But I’m gonna guess you need to

 axios
.get("https://api.twitch.tv/helix/users?login=Kozie1337", {
  headers: {
    "Client-Id": clientid,
    Authorization: "Bearer " + token,
  },
    responseType: 'json'
})
.then((res) => {
  console.log(res.data);
});

The responseType will tell axois to expect and handle as JSON

And data should be the whole response object

Personally I use nodeJS Got myself

With node fetch you probablyt needed to do

fetch(url, {options})
    .then(resp => { return resp.json(); })
    .then(resp => {
        // do stuff with resp as it's the json blob that was returned
    });

This example might help,

But it’s front end JS

Or this backend example

Covers how Got works for accessing the body