You also misspelt client_secret and client-id should be client_id and ommitted the grant_type
axios({
method: 'POST',
url: 'https://id.twitch.tv/oauth2/token?client_id=foo&client_secret=bar&grant_type=client_credentials'
})
You also misspelt client_secret and client-id should be client_id and ommitted the grant_type
axios({
method: 'POST',
url: 'https://id.twitch.tv/oauth2/token?client_id=foo&client_secret=bar&grant_type=client_credentials'
})