I’m trying to get the x-csrf-token but it keeps erroring when I try using a post request.
fetch('https://auth.roblox.com/v2/login', {
method: 'POST',
headers: {
cookie: ".ROBLOSECURITY="+cookieToken
}
})
.then(response => response.json())
.then(data => console.log(data));
It validates my token correctly when I use get requests, but it seems to not work with post requests. Anyone know what i’m doing wrong?