#api.roblox.com replacement

1 messages · Page 1 of 1 (latest)

dense geode
dense geode
#

okay thanks

topaz thicket
#

i think thats what youre supposed to use

dense geode
#

Ah

#

so i have to provide an array of usernames now

topaz thicket
#

yea

rose breach
#

isn’t it a post request instead of get too

topaz thicket
#

erm

#

i cant recall

#

i remember reading the docs and there was like 1 end point saying something something its a post but actually a get because rate limit

#

but idk

pseudo basalt
#

but there's one to get em by userid too

pseudo basalt
#

i assumed it did just by doing ?username=?username=

dense geode
#

Yeah but that way is deprecated

#

That endpoint no longer works

pseudo basalt
#

yeah i know

#

i meant before it was removed

#

also i dont think it's deprecated i'm pretty sure it doesn't even work anymore at all

silk pike
#

Unfortunately does not support GET requests. So you'll need to add some extra code to get a CSRF token and make the post request

#

@dense geode

#

Honestly, I recommend using the first one with a POST request, it's a neater way of doing things

pseudo basalt
#

aswell

#

and u can use the nextPageCursor to get the next 100 too :d

silk pike
#

Lol, are you trying to find just one user or trying to get a list of users?

#

I thought you jsut wanted a specific one

pseudo basalt
#

i'm not trying to do anything

silk pike
#

Oh oops that's right. Headless wanted it, mb

pseudo basalt
#

@silk pike also the POST one u provided

#

i'm pretty sure it only accepts 100

#

usernames aswell

silk pike
silk pike
pseudo basalt
#

i don't think there's a marking bot

#

so they both

#

function the same

silk pike
#

no, one returns 100, and the other allows you to submit 100

#

the GET returns 100 if you want that

#

the POST allows you to submit up to 100

pseudo basalt
#

i guess if u want a od number u use the POST one

#

@silk pike turns out u dont even need the csrf token

#

for the post endpoint

#
This endpoint will also check previous usernames.
Does not require X-CSRF-Token protection because this is essentially a get request but as a POST to avoid URI limits.
#

so the post is def better