Difference between revisions of "Http.request"
From ComputerCraft Wiki
m (Moved to CAT:LuaCoreFunctions) |
(Updated API reference) |
||
Line 3: | Line 3: | ||
|name=http.request | |name=http.request | ||
|returns=event "http_success" on success. | |returns=event "http_success" on success. | ||
− | |api= | + | |api=HTTP |
|addon=ComputerCraft | |addon=ComputerCraft | ||
|desc=Sends a HTTP request to the website. Returns event "http_success" on success. | |desc=Sends a HTTP request to the website. Returns event "http_success" on success. |
Revision as of 13:57, 30 November 2012
Function http.request | |
Sends a HTTP request to the website. Returns event "http_success" on success. | |
Syntax | http.request() |
Returns | event "http_success" on success. |
Part of | ComputerCraft |
API | HTTP |
Examples
Example | |
Prints the code of a loading bar program if successful. | |
Code |
http.request("http://pastebin.com/raw.php?i=Tk19jv43") |