local http_api = minetest.request_http_api()
if not http_api then
print("ERROR: in minetest.conf, this mod must be in secure.http_mods!")
end
minetest.after(5, function()
http_api.fetch({
url = "http://example.org",
timeout = 1
}, function (res)
print(dump(res))
end)
end)
Users browsing this forum: No registered users and 26 guests