Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

how do I send an api request to get a player's info from username ??

local url = "http://rprxy.xyz/users/get-by-username/flameko" 
local HS = game:GetService("HttpService") 
local JsonTable = HS:JSONDecode(HS:GetAsync(url)) 
for _,v in pairs(JsonTable) do
	print(v)
end

this keeps erroring with http 404

1 answer

✓ Accepted answer

You put the wrong URL. You should instead be using

http://rprxy.xyz/users/get-by-username?username=name

instead. I already answered this over discord.

1 comment

0

oh. thanks, i'll dm you if i have any more issues

This discussion is preserved as it was. New answers, comments, and votes are closed.