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

How would I use an API using HttpService?

Tried this, nothing happened..

hs = game:GetService("HttpService")
test = hs:GetAsync("http://www.roblox.com/UserCheck/DoesUsernameExist?username=Test", true)
print(test)

Output:

14:22:34.066 - http://www.roblox.com/UserCheck/DoesUsernameExist?username=Test: Trust check failed, The operation completed successfully.

14:22:34.066 - Script 'Players.Player1.PlayerGui.LocalScript', Line 2 14:22:34.067 - Stack End

1 answer

You cannot send an http request to roblox directly, you must use a proxy if you want to do so.

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