, чтобы узнать в 2022 году, но, похоже, это не работает. < /p>
Код: Выделить всё
import axios from 'axios'
const cookie = ".ROBLOSECURITY="+'_|WARNING:-DO-NOT-SHARE-THIS.--Sharing-this-will-allow-someone-to-log-in-as-you-and-to-steal-your-ROBUX-and-items.|_
axios.post('https://auth.roblox.com/v2/logout', null, {
headers: {
'Cookie': cookie
}
})
.then(response => {
console.log(response.headers);
})
.catch(error => {
console.error('Error:', error.message);
});
Подробнее здесь: https://stackoverflow.com/questions/785 ... 24-node-js