Keep getting this error when I try to test my game in a Server, works in studio though. Code:
local UI = script.Parent local Main = UI.Main local Webpage = Main.Webpage local Topbar = UI.Topbar local Searchbar = Topbar.Searchbar local InputBox = Searchbar.InputBox local Contents = Webpage.Contents InputBox.FocusLost:connect(function(enterpressed) if enterpressed then local hs = game.HttpService local url = InputBox.Text local html = hs:GetAsync(url, false) if html then Contents.Text = html end end end)
Output in a Server:
HttpRequests are not enabled!
Can you explain what you are trying to do? In the meantime, if HttpServiceEnabled is false
then use the following instructions...
In the Explorer (View>Explorer) you can find a little blue box named HttpService
at the bottom. Click that and click the HttpServiceEnabled
checkbox to true
to enable HttpService.
Locked by Shawnyg, GoldenPhysics, TheHospitalDev, and Perci1
This question has been locked to preserve its current state and prevent spam and unwanted comments and answers.
Why was this question closed?