This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
DannyPlayer's profile picture

HTTP

Started by DannyPlayer, 21 April 2015 - 04:05 PM
DannyPlayer #1
Posted 21 April 2015 - 06:05 PM
How do i use HTTP?

I know C++ as well, but I don't understand how HTTP work there…
Lupus590 #2
Posted 21 April 2015 - 07:07 PM
what are you trying to do with HTTP?

have you tried reading the wiki and in-game documentation (type "help HTTP" into the shell)
Creator #3
Posted 21 April 2015 - 07:11 PM
HTTP kind of works like files


local dataHandle = http.get(url)
local data = dataHandle.read()

This is litterally the simplest thing yo can do. Hope I could help you ;)/>
DannyPlayer #4
Posted 21 April 2015 - 07:23 PM
Ohh) Thx Creator…