Basicly what’s the title says, in studio, i’ve turned on Http Request in Game Settings. Testing Http stuff in studio worked well, but when i tried to do it online. It says that HttpService not enabled.
I also have this problem.
Edit: It works in the command console when editing.
This happens if you try calling Http Service from the client, regardless of the service being enabled or not.The reason this works in studio is because the server and client are one. If you do a server test in studio instead, it will give the same error.
I assume the reason the client is restricted from calling these requests is for security reasons. If it was allowed, you could probably track everyone’s IP, and that may not even be the biggest issue.
Anyways, just move any code that calls GET or POST requests to the server side and it should work. If you are absolutely sure that this is only called by the server, and that HTTP services are enabled from your settings, then this may be a bug.
Try running this line in command line in studio, I had problems with studio’s game options.
game:GetService(“HttpService”).HttpEnabled = true
I’d like to confirm that this issue is still occurring. Changing Allow HTTP Requests
from the Studio Game Settings menu does not enable HttpService.
The solution @Ristone3 mentioned does work however, there’s a lot of users on Roblox who do not understand how to run code from the Studio command bar. I personally have had to make a detailed post for my community for users to understand how to do this:
It would be highly appreciated if Roblox could address this issue as soon as possible as it’s preventing users from having the out of the box experience with an administration system I develop for as it requires HttpService to be enabled in order to save settings to a database.
Edit: Would also be nice if this post was moved to Studio bug reports since this is clearly an issue. Thanks!