Jump to content

CCraft http api


2toetommy

Recommended Posts

Looking into APi's cor CC and i see theres a http function in there. AND again zero info on it. If it works the way it bearly mentioned it then that would be kool. Has anyone used http at all? http.get( url ) or anything i see no info how to use or write this up. HELP PLEASE.

Link to comment
Share on other sites

Looking into APi's cor CC and i see theres a http function in there. AND again zero info on it. If it works the way it bearly mentioned it then that would be kool. Has anyone used http at all? http.get( url ) or anything i see no info how to use or write this up. HELP PLEASE.

HTTP API is kinda useless unless you have your own web server with a custom program to handle CC requests. You can't really write a web browser in Lua. Not in this century anyways; most websites use stuff like Java and Flash for a lot of the content.

Would be fun to see an IRC interface written in PHP specifically for cross-server ComputerCraft chatting...

Link to comment
Share on other sites

HTTP API is kinda useless unless you have your own web server with a custom program to handle CC requests...

When you enable the HTTP API, you can download stuff from Pastebin onto a CC computer in the game.

This allows users to write code on their local machine in a more comfortable editor and then download the code onto the CC computers.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...