5 replies to this topic
#1
Posted 24 March 2013 - 10:05 AM
Solved and in wrong section! Go help someone else!
#2
Posted 24 March 2013 - 11:03 AM
Just make an http request (using http.get) to that url, and you'll get the contents as response.
This should work:
This should work:
local response = http.get("https://raw.github.com/SuicidalSTDz/EnderOS/master/config")
if response then
local contents = response.readAll()
response.close()
print(contents)
end
#3
Posted 24 March 2013 - 11:03 AM
Just figured that out 
Mine is more compact
Mine is more compact
local response = http.get("https://raw.github.com/SuicidalSTDz/EnderOS/master/config")
local sResponse = response.readAll()
response.close()
print(sResponse)
#4
Posted 24 March 2013 - 11:09 AM
SuicidalSTDz, on 24 March 2013 - 11:03 AM, said:
Just figured that out 
Mine is more compact
Mine is more compact
local response = http.get("https://raw.github.com/SuicidalSTDz/EnderOS/master/config")
local sResponse = response.readAll()
response.close()
print(sResponse)Edit: lol, just realized this is the tutorials section
#5
Posted 24 March 2013 - 11:34 AM
I've sailed ye topic to the correct port. Silly captains and their vessels...
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users











