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

Does :GetAsync() from data stores require the game to have HTTPS Request Enabled?

Asked by 5 years ago

Hello, i got an admin model i am working on.

There is a script that loads a player's rank and checks if they are banned and stuff like that.

I got a problem that in some games my admin is in it doesen't load player ranks, i think it's becuase of the :GetAsync() function, it only works when i enable HTTP Requests on.

So i was wondering if :GetAsync() requires the game to have HTTP Requests on.

Thank you!

0
as i know not but u need to put api on on the site. i dont use http at all and my set and get async work fine User#27824 0 — 5y
0
What api do i have to put on what site? spicychilly2 145 — 5y
0
api is a service from roblox to save and load with get and set async. go to the site and find ur game and put in settings api on, if its already on then leave http also on like alphawolvess says User#27824 0 — 5y

1 answer

Log in to vote
1
Answered by 5 years ago

From the context of your question, I am not sure if you made everything you're using yourself. If this is true and you notice the script appears to work better with HttpService enabled, simply keep doing so, there is not much purpose in leaving HttpService disabled if this is the case.

But to actually answer your question, :GetAsync() from Data stores does not require Http to be enabled. However, your admin script may be making offsite requests to accomplish certain tasks, giving you undesirable results when turned off.

1
Thank you for your awenser! I will take consideration about my script making offsite requests and try to fix the problem. spicychilly2 145 — 5y
Ad

Answer this question