You can write your topic however you want, but you need to answer these questions:
- What do you want to achieve? Keep it simple and clear!
i want to achieve so my code fetches this string and not any other: 2023-8-2-12-53 since it is displayed in website i ping right now, will make js code myself later
- What is the issue? Include screenshots / videos if possible!
the issue is my code returns source code html document and not info i want.
here’s the code:
local HttpService = game:GetService("HttpService")
local URL = "https://Example.com" -- here is website i ping
local requestoptions = {Url = URL, Method = "GET"}
-- Make the request to the URL
local response = HttpService:RequestAsync(requestoptions)
print(response)
- What solutions have you tried so far? Did you look for solutions on the Developer Hub?
i have looked for solutions everywhere online and didnt find my problem
i want to make so every minut the script pings website with request and checks it
also updates time in variable.
the thing i want to do in final is realistic weather based on current date, so if its winter it can snow, and if rain then it should rain.
thats the most detailed description i can give