This is in minecraft specifically so some of this code may not make sense.
when ran it says line 77 is calling a nil value
(sorry pastebin but the code is rather big for here)
This is in minecraft specifically so some of this code may not make sense.
when ran it says line 77 is calling a nil value
(sorry pastebin but the code is rather big for here)
i don't see anywhere where you ever require a file that implements an 'http' table/userdatum, and you never declare http outside the scope of getHttpBody(), so http is a nil value. so you try to call function request() on variable http, which has yet to be defined.
it looks like you just forgot to require the necessary files.