Hey,
when i am using axios to update my secrets i got a 404 error.
I dont know why but when i am using postman with the exact code it works.
var config_renew = {
method: "post",
url: "https://id.twitch.tv/oauth2/token?client_id=xxx&client_secret=xxx&grant_type=client_credentials",
headers: {},
};
await axios(config_renew)
.then(async function (response) {
xxx
})
AxiosError: Request failed with status code 404
Thanks in advance!