Did you select the right permissions when making the api key? But I meant printing the entire response object, not just response.status.
Something else
There is a reason why there is a minimum for … characters. You should make every post you post as extensive as you can. So that we don’t have to make 1000 posts lol.
Sorry, can you write a short example? As mentioned, pretty new to node.js
Wasn’t thinking much when adding those IPs so I added the example IP (no idea why) and mine through searching “whats my ip”. But I’m guessing most likely I have to use some different IP.
well thats the problem because of roblox “alts” fix where they made cookie login not work if you use other ip
and for this api you need to have edit access for the game
Every async function returns a promise. So you need to do something special to actually get the result of the promise, when it finishes.
You either have to await it
await asyncFunction()
but this can only be done inside of async functions, so you have to
asyncFunction().then(resultOfTheFunction => {
// do stuff here
})
just like with fetch().
Full example:
// your fetch
.then(response => response.text())
.then(text => console.log(text))
Yes the IP of the device that is sending the requests. I don’t know how you would do this with repl it (because I doubt they give you one fixed ip). Maybe using the
there’s not really anything that you could use to make it work on repl it because it resets your cookie each time you try to log-in into account with it