FANDOM


The HTTP API allows programs in ComputerCraft to access the Internet from inside Tekkit. This can enable various advanced features, such as programs checking for updates. For security reasons, the HTTP API is disabled by default.

Enabling the API

File:Enabling HTTP API for ComputerCraft








To enable the API, simply navigate to your Tekkit Lite config folder. For Windows 7, that is located:

C:\Users\<USERNAME>\AppData\Roaming\.technic\tekkitlite\config

Then open the ComputerCraft.cfg file, and change enableAPI_http=0 to enableAPI_http=1


API Features

Method Name Description
http.request( url, *postData ) Sends a HTTP request to a website.
http.get( url ) Sends a HTTP GET request to a website.
http.post( url, postData ) Sends a HTTP POST request to a website.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.