Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local url = "https://pastebin.com/raw/9Tnq0SUw" -- замените на реальный URL
- local response = http.get(url)
- if response then
- local data = response.readAll()
- print("Успешно! Данные:")
- print(data)
- response.close()
- else
- print("Ошибка HTTP-запроса:")
- print("Код:", response and response.getResponseCode() or "нет ответа")
- print("Сообщение:", err or "неизвестная ошибка")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement