Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you return a true and false from httpservice?

Asked by 4 years ago
Edited 4 years ago

I want to return true or false from httpservice but I don't want to use loadstrings.

How would I go about this?

I know this much

local httpservice = game:GetService("HttpService")

if httpservice:RequestAsync("Your website link") == true then
-- your code here
end

I don't think its going to work. I'm looking for a more effective method because this script probably doesn't work.

Answer this question