mercwear

Upload ME system contents

May 12th, 2015
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. x = peripheral.wrap("back")
  2. local var = x.getAvailableItems()
  3. --local var = textutils.serialize(var)
  4. var = textutils.serializeJSON(var)
  5. local response = http.post("http://www.mercwear.com/minecraft/post.php", "var=" .. textutils.urlEncode(var))
  6. local contentsofHTML = response.readAll()
  7. response.close()
  8. print(var)
Advertisement
Add Comment
Please, Sign In to add comment